Copy PageCreate billpost https://api.wafeq.com/v1/bills/Endpoint for creating a new bill.Query ParamsexpandstringComma-separated relationships to expand. Pass journal to replace the journal ID with its object (ID, date, currency, reference, notes and timestamps). Documents without a journal still return null. Journal line items are retrieved separately with GET /v1/journal-line-items/?journal={journal_id}.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. Sending this field replaces the whole set, and entries left out are unapplied. To apply, change or remove a single debit note, use /v1/bill-debit-notes/.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 3 days ago List billsDelete billDid this page help you?YesNo