Partial update invoiceAsk AIpatch https://api.wafeq.com/v1/invoices/{id}/Endpoint for partially updating an existing invoice.Path ParamsidstringrequiredBody Paramsattachmentsarray of stringsAny files or documents attached to this invoice.attachmentsADD stringbranchstring | nullThe branch associated with this invoice.contactstringThe contact (customer) associated with this invoice.credit_notesarray of objectsThe credit notes applied to this invoice.credit_notesADD objectcurrencystringenum AED - AED SAR - SAR USD - USD $ EUR - EUR € CAD - CAD $ AFN - AFN ؋ ALL - ALL Lek AMD - AMD դր. ARS - ARS $ AUD - AUD $ ... Full information for CurrencyEnumAEDSARUSDEURCADAFNALLAMDARSAUDAZNBAMBDTBGNBHDBIFBNDBOBBRLBWPBYNBZDCDFCHFCLPCNYCOPCRCCVECZKDJFDKKDOPDZDEGPERNETBGBPGELGHSGNFGTQHKDHNLHRKHUFIDRILSINRIQDIRRISKJMDJODJPYKESKHRKMFKRWKWDKZTLBPLKRLYDMADMDLMGAMKDMMKMOPMURMXNMYRMZNNADNGNNIONOKNPRNZDOMRPABPENPHPPKRPLNPYGQARRONRSDRUBRWFSDGSEKSGDSOSSYPTHBTNDTOPTRYTTDTWDTZSUAHUGXUYUUZSVESVNDXAFXOFYERZARZMWShow 115 enum valuesdiscount_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_datedateThe date when the invoice was issued.invoice_due_datedateThe date by which the invoice should be paid.invoice_numberstringThe unique number assigned to this invoice.languagestringenumDefaults to en ar - Arabic en - English Full information for LanguageEnumarenAllowed:arenline_itemsarray of objectsThe individual line items included in this invoice.line_itemsADD 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 DRAFT DRAFT - DRAFT SENT - SENT FINALIZED - FINALIZED Full information for Status730EnumDRAFTSENTFINALIZEDAllowed:DRAFTSENTFINALIZEDtax_amount_typestringenum TAX_INCLUSIVE - inc. tax TAX_EXCLUSIVE - exc. tax Full information for TaxAmountTypeEnumTAX_INCLUSIVETAX_EXCLUSIVEAllowed:TAX_INCLUSIVETAX_EXCLUSIVEwarehousestring | nullThe warehouse associated with this invoice, if applicable.HeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestResponse 200Updated 7 months ago