Copy PagePartial update billpatch https://api.wafeq.com/v1/bills/{id}/Endpoint for partially updating an existing bill.Path ParamsidstringrequiredBody Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA bill received from a supplier.attachmentsarray of stringsList of attachments linked to this bill.attachmentsADD stringbill_datedateThe date when the bill was issued.bill_due_datedateThe date by which the bill should be paid.bill_numberstringThe unique identifier or number assigned to this bill.branchstring | nullThe branch associated with this bill, if applicable.contactstringThe contact (vendor) associated with this bill.currencystringenumThe currency in which the bill is issued. View the enum referenceAEDSARUSDEURCADAFNALLAMDARSAUDAZNBAMBDTBGNBHDBIFBNDBOBBRLBWPBYNBZDCDFCHFCLPCNYCOPCRCCVECZKDJFDKKDOPDZDEGPERNETBGBPGELGHSGNFGTQHKDHNLHRKHUFIDRILSINRIQDIRRISKJMDJODJPYKESKHRKMFKRWKWDKZTLBPLKRLYDMADMDLMGAMKDMMKMOPMURMXNMYRMZNNADNGNNIONOKNPRNZDOMRPABPENPHPPKRPLNPYGQARRONRSDRUBRWFSDGSEKSGDSOSSYPTHBTNDTOPTRYTTDTWDTZSUAHUGXUYUUZSVESVNDXAFXOFYERZARZMWShow 115 enum valuescustom_fieldsobjectA mapping of custom field IDs to their values.custom_fields objectdebit_notesarray of objectsThe debit notes applied to this bill for payment or adjustment.debit_notesADD objectexchange_ratedouble | nullThe exchange rate to the organization base currency at the time of the document.external_idstringlength ≤ 255External identifier for the bill.languagestringenumThe language of the document. View the enum referenceenarAllowed:enarline_itemsarray of objectsThe individual line items that make up the bill.line_itemsADD objectnotesstringAny additional notes or comments related to the bill.order_numberstringThe order number associated with this bill, if any.projectstring | nullThe project associated with this bill, if any.referencestringAny additional reference information for this bill.statusstringenumDefaults to DRAFTThe current status of the bill (Draft, Authorized, or Paid). View the enum referenceDRAFTAUTHORIZEDPAIDAllowed:DRAFTAUTHORIZEDPAIDtax_amount_typestringenumSpecifies whether the tax amount is inclusive or exclusive of the line item amounts. View the enum referenceTAX_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 4 months ago Retrieve billUpdate billDid this page help you?YesNo