Create Bill
POST/api/inbound-shipments/:inbound_shipment/bills
Creates a landed cost bill attached to this inbound shipment. Cannot be added to cancelled shipments.
Authentication: Requires Bearer token.
Fields:
- vendor_id (required): Vendor/supplier ID
- invoice_number (required, unique): Invoice number
- invoice_date (required): Invoice date
- currency_id (optional): Currency ID
- currency_rate (optional): Exchange rate
- proration_strategy (required): One of: cost_based, quantity_based, weight_based, manual
- lines (required): Array of bill line items — each requires description, quantity, amount; nominal_code_id optional
- allocations (optional): Array of allocations to PO lines or warehouse transfer lines — allocation amounts must not exceed bill total
Request
Responses
- 200
Successful response