Copy PageCreate invoicepost https://api.wafeq.com/v1/invoices/Endpoint for creating a new invoice.Body Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAn invoice issued to a customer.attachmentsarray of stringsAny files or documents attached to this invoice.attachmentsADD stringbranchstring | nullThe branch associated with this invoice.contactstringrequiredThe contact (customer) associated with this invoice.credit_notesarray of objectsThe credit notes applied to this invoice.credit_notesADD objectcurrencystringenumrequiredThe currency code for the invoice. View the enum referenceAEDSARUSDEURCADAFNALLAMDARSAUDAZNBAMBDTBGNBHDBIFBNDBOBBRLBWPBYNBZDCDFCHFCLPCNYCOPCRCCVECZKDJFDKKDOPDZDEGPERNETBGBPGELGHSGNFGTQHKDHNLHRKHUFIDRILSINRIQDIRRISKJMDJODJPYKESKHRKMFKRWKWDKZTLBPLKRLYDMADMDLMGAMKDMMKMOPMURMXNMYRMZNNADNGNNIONOKNPRNZDOMRPABPENPHPPKRPLNPYGQARRONRSDRUBRWFSDGSEKSGDSOSSYPTHBTNDTOPTRYTTDTWDTZSUAHUGXUYUUZSVESVNDXAFXOFYERZARZMWShow 115 enum valuescustom_fieldsobjectA mapping of custom field IDs to their values.custom_fields objectdiscount_accountstringThe account to which the discount will be booked, if applicable.discount_amountdouble≥ 0The discount amount to apply to the invoice.discount_cost_centerstringThe cost center associated with the discount, if applicable.discount_tax_ratestringThe tax rate applied to the discount, if applicable.exchange_ratedouble | nullThe exchange rate to the organization base currency at the time of the document.external_idstringlength ≤ 255External identifier for the invoice.invoice_datedaterequiredThe date when the invoice was issued.invoice_due_datedaterequiredThe date by which the invoice should be paid.invoice_numberstringrequiredThe unique number assigned to this invoice.languagestringenumDefaults to enThe language in which the invoice is written. View the enum referenceenarAllowed:enarline_itemsarray of objectsrequiredThe individual line items included in this invoice.line_items*ADD objectnotesstringAdditional notes or comments about the invoice.place_of_supplystringThe place of supply for UAE organizations. Must be one of: ABU_DHABI, AJMAN, DUBAI, FUJAIRAH, RAS_AL_KHAIMAH, SHARJAH, UMM_AL_QUWAIN or OUTSIDE_UAE.projectstring | nullThe project associated with this invoice, if applicable.purchase_orderstringAn optional purchase order number or code for this invoice.referencestringAn optional reference number or code for this invoice.statusstringenumDefaults to DRAFTThe current status of the invoice (draft, sent, or finalized). View the enum referenceDRAFTSENTFINALIZEDAllowed:DRAFTSENTFINALIZEDtax_amount_typestringenumSpecifies whether the tax amount is inclusive or exclusive. View the enum referenceTAX_INCLUSIVETAX_EXCLUSIVEAllowed:TAX_INCLUSIVETAX_EXCLUSIVEwarehousestring | nullThe warehouse associated with this invoice, if applicable.HeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestcontent-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse 201Updated 4 months ago List invoicesDelete invoiceDid this page help you?YesNo