Copy PageCreate billpost https://api.wafeq.com/v1/bills/Endpoint for creating a new bill.Body Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA bill received from a supplier.attachmentsarray of stringsList of attachments linked to this bill.attachmentsADD stringbill_datedaterequiredThe date when the bill was issued.bill_due_datedaterequiredThe date by which the bill should be paid.bill_numberstringrequiredThe unique identifier or number assigned to this bill.branchstring | nullThe branch associated with this bill, if applicable.contactstringThe contact (vendor) associated with this bill.currencystringenumrequiredThe 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 objectsrequiredThe individual line items that make up the bill.line_items*ADD 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 201Updated 4 months ago List billsDelete billDid this page help you?YesNo