Update debit noteCopy Pageput https://api.wafeq.com/v1/debit-notes/{id}/Endpoint for updating an existing debit note.Path ParamsidstringrequiredBody Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAdds nested create featureattachmentsarray of stringsAny files or documents attached to this debit note.attachmentsADD stringbranchstring | nullThe branch associated with this debit note.contactstringrequiredThe contact (customer) associated with this debit note.currencystringenumrequiredThe currency used for this debit note. AED - AED SAR - SAR USD - USD $ EUR - EUR € CAD - CAD $ AFN - AFN ؋ ALL - ALL Lek AMD - AMD դր. ARS - ARS $ AUD - AUD $ AZN - AZN ман. BAM - BAM KM BDT - BDT ৳ BGN - BGN лв. BHD - BHD د.ب. BIF - BIF FBu BND - BND $ BOB - BOB Bs BRL - BRL R$ BWP - BWP P BYN - BYN BYN BZD - BZD $ CDF - CDF FrCD CHF - CHF CHF CLP - CLP $ CNY - CNY CN¥ COP - COP $ CRC - CRC ₡ CVE - CVE CV$ CZK - CZK Kč DJF - DJF Fdj DKK - DKK kr DOP - DOP RD$ DZD - DZD د.ج. EGP - EGP ج.م. ERN - ERN Nfk ETB - ETB Br GBP - GBP £ GEL - GEL GEL GHS - GHS GH₵ GNF - GNF FG GTQ - GTQ Q HKD - HKD $ HNL - HNL L HRK - HRK kn HUF - HUF Ft IDR - IDR Rp ILS - ILS ₪ INR - INR ₹ IQD - IQD د.ع. IRR - IRR ﷼ ISK - ISK kr JMD - JMD $ JOD - JOD د.أ. JPY - JPY ¥ KES - KES Ksh KHR - KHR ៛ KMF - KMF FC KRW - KRW ₩ KWD - KWD د.ك. KZT - KZT тңг. LBP - LBP ل.ل. LKR - LKR SL Re LYD - LYD د.ل. MAD - MAD د.م. MDL - MDL MDL MGA - MGA MGA MKD - MKD MKD MMK - MMK K MOP - MOP MOP$ MUR - MUR MURs MXN - MXN $ MYR - MYR RM MZN - MZN MTn NAD - NAD N$ NGN - NGN ₦ NIO - NIO C$ NOK - NOK kr NPR - NPR नेरू NZD - NZD $ OMR - OMR ر.ع. PAB - PAB B/. PEN - PEN S/. PHP - PHP ₱ PKR - PKR ₨ PLN - PLN zł PYG - PYG ₲ QAR - QAR ر.ق. RON - RON RON RSD - RSD дин. RUB - RUB руб. RWF - RWF FR SDG - SDG SDG SEK - SEK kr SGD - SGD $ SOS - SOS Ssh SYP - SYP ل.س. THB - THB ฿ TND - TND د.ت. TOP - TOP T$ TRY - TRY TL TTD - TTD $ TWD - TWD NT$ TZS - TZS TSh UAH - UAH ₴ UGX - UGX USh UYU - UYU $ UZS - UZS UZS VES - VES Bs.S. VND - VND ₫ XAF - XAF FCFA XOF - XOF CFA YER - YER ر.ي. ZAR - ZAR R ZMW - ZMW ZK AEDSARUSDEURCADAFNALLAMDARSAUDAZNBAMBDTBGNBHDBIFBNDBOBBRLBWPBYNBZDCDFCHFCLPCNYCOPCRCCVECZKDJFDKKDOPDZDEGPERNETBGBPGELGHSGNFGTQHKDHNLHRKHUFIDRILSINRIQDIRRISKJMDJODJPYKESKHRKMFKRWKWDKZTLBPLKRLYDMADMDLMGAMKDMMKMOPMURMXNMYRMZNNADNGNNIONOKNPRNZDOMRPABPENPHPPKRPLNPYGQARRONRSDRUBRWFSDGSEKSGDSOSSYPTHBTNDTOPTRYTTDTWDTZSUAHUGXUYUUZSVESVNDXAFXOFYERZARZMWShow 115 enum valuescustom_fieldsobjectA mapping of custom field IDs to their values.custom_fields objectdebit_note_datedaterequiredThe date when the debit note was issued.debit_note_numberstringrequiredThe unique number assigned to this debit note.exchange_ratedouble | nullThe exchange rate to the organization base currency at the time of the document.external_idstringlength ≤ 255External identifier for the debit note.line_itemsarray of objectsrequiredThe individual line items included in this debit note.line_items*ADD objectnotesstringAny additional notes or comments related to this debit note.order_numberstringlength ≤ 100An optional order number associated with this debit note.projectstring | nullThe project associated with this debit note, if applicable.referencestringAn optional reference number or code for this debit note.statusstringenumDefaults to DRAFTThe current status of the debit note (draft or posted). DRAFT - DRAFT POSTED - POSTED DRAFTPOSTEDAllowed:DRAFTPOSTEDtax_amount_typestringenumSpecifies whether the tax amount is inclusive or exclusive. TAX_INCLUSIVE - inc. tax TAX_EXCLUSIVE - exc. tax TAX_INCLUSIVETAX_EXCLUSIVEAllowed:TAX_INCLUSIVETAX_EXCLUSIVEHeadersX-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 200Updated 3 months ago Partial update debit noteDownload debit note PDFDid this page help you?YesNo