Update credit noteAsk AIput https://api.wafeq.com/v1/credit-notes/{id}/Endpoint for updating an existing credit note.Path ParamsidstringrequiredBody Paramsattachmentsarray of stringsAny files or documents attached to this credit note.attachmentsADD stringbranchstring | nullThe branch associated with this credit note.contactstringrequiredThe contact associated with this credit note.credit_note_datedaterequiredThe date when the credit note was issued.credit_note_numberstringrequiredThe unique number assigned to this credit note.currencystringenumrequired 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 valuescustom_fieldsobjectA mapping of custom field IDs to their values.custom_fields objectdiscount_cost_centerstringThe cost center to which the discount is applied, if applicable.exchange_ratedouble | nullThe exchange rate to the organization base currency at the time of the document.external_idstringlength ≤ 255External identifier for the credit note.languagestringenum ar - Arabic en - English Full information for LanguageEnumarenAllowed:arenline_itemsarray of objectsrequiredThe individual line items included in this credit note.line_items*ADD objectnotesstringAny additional notes or comments for this credit note.place_of_supplystringOnly required if your organization is in the UAE: one of ABU_DHABI, AJMAN, DUBAI, FUJAIRAH, RAS_AL_KHAIMAH, SHARJAH, UMM_AL_QUWAIN or OUTSIDE_UAEprojectstring | nullThe project associated with this credit note, if applicable.referencestringAn optional reference number or code for this credit note.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 credit note, if applicable.HeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestResponse 200Updated 7 months ago