Create Accounting Bill
Accounts Payable
Create Accounting Bill
Creates a new accounting bill with line items and automatic journal entry generation.
This endpoint allows for complex bill creation with:
- Multiple line items with different accounts, departments, and vendor assignments
- Automatic accounts payable journal entry creation
- Tax calculations and tax account handling
- Exchange rate support for multi-currency transactions
- Custom field support for additional bill metadata
Requirements:
- All referenced accounts must exist and be active
- Vendor must exist
- Entity must exist
- Line items must have valid amounts and descriptions
- Currency must be valid for the entity
- Accounting date must be before closed book date
POST
Create Accounting Bill
Authorizations
Token-based authentication with required prefix "Token"
Body
Maximum string length:
120custom- Customnet_5- Net 5net_7- Net 7net_10- Net 10net_15- Net 15net_20- Net 20net_30- Net 30net_40- Net 40net_45- Net 45net_60- Net 60net_90- Net 90net_105- Net 105net_120- Net 120due_on_receipt- Due on Receipt
Available options:
custom, net_5, net_7, net_10, net_15, net_20, net_30, net_40, net_45, net_60, net_90, net_105, net_120, due_on_receipt Maximum string length:
9Pattern:
^\d{9}$Israel tax compliance: bill classification type
other- Otherequipment- Equipment
Available options:
other, equipment Maximum string length:
250partial- Partially Paidopen- Openpaid- Paidpayment_not_found- Payment Not Foundpayment_pending- Payment Pendingvoided- Voided
Available options:
partial, open, paid, payment_not_found, payment_pending, voided Maximum string length:
3Required range:
-100000000000000 < x < 100000000000000Required range:
-100000000000000 < x < 100000000000000inclusive- Inclusiveexclusive- Exclusive
Available options:
inclusive, exclusive BILL- BillPAYROLL- PayrollREIMBURSEMENT- Reimbursement
Available options:
BILL, PAYROLL, REIMBURSEMENT Required range:
-2147483648 <= x <= 2147483647Payment term for this bill
Accounts Payable account for this bill
Response
201 - application/json
Return AP account name with number in 'number - name' format, similar to name_and_number.
Required range:
-1000000000000000000 < x < 1000000000000000000Required range:
-1000000000000000000 < x < 1000000000000000000Maximum string length:
120custom- Customnet_5- Net 5net_7- Net 7net_10- Net 10net_15- Net 15net_20- Net 20net_30- Net 30net_40- Net 40net_45- Net 45net_60- Net 60net_90- Net 90net_105- Net 105net_120- Net 120due_on_receipt- Due on Receipt
Available options:
custom, net_5, net_7, net_10, net_15, net_20, net_30, net_40, net_45, net_60, net_90, net_105, net_120, due_on_receipt Maximum string length:
9Pattern:
^\d{9}$Israel tax compliance: bill classification type
other- Otherequipment- Equipment
Available options:
other, equipment Maximum string length:
250partial- Partially Paidopen- Openpaid- Paidpayment_not_found- Payment Not Foundpayment_pending- Payment Pendingvoided- Voided
Available options:
partial, open, paid, payment_not_found, payment_pending, voided Maximum string length:
3Required range:
-100000000000000 < x < 100000000000000Required range:
-100000000000000 < x < 100000000000000inclusive- Inclusiveexclusive- Exclusive
Available options:
inclusive, exclusive BILL- BillPAYROLL- PayrollREIMBURSEMENT- Reimbursement
Available options:
BILL, PAYROLL, REIMBURSEMENT Required range:
-2147483648 <= x <= 2147483647Payment term for this bill
Accounts Payable account for this bill