Download Bill Import Template
GET/api/bills/import/template
Download the landed cost bill import template as an XLSX file. Import the filled-in file through the data-import endpoints with entity_type=bills (see Upload Data Import); allocations and payments import as bill_allocations and bill_payments. The response is a binary file download, not JSON.
purchase-orders:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token. Scope: purchase-orders (read/write). Requires the purchase_orders.create permission.
Sheets
- Import Here — the import columns with sample rows built from your account. One row per bill line or manual allocation; repeat the invoice # and header fields on every row of a bill.
- Field Guide — every column, whether it is required, valid values and an example.
- Reference Data — your service suppliers, link types, proration strategies, currencies, payment terms, cost categories, tax rates and nominal codes.
Columns
id, invoice_number, invoice_date, supplier_name, supplier_email, link_type, link_reference, currency_code, currency_rate, payment_term, proration_strategy, line_description, line_quantity, line_amount, line_cost_category, line_tax_rate, line_nominal_code, allocation_sku, allocation_line_id, allocation_amount
Response
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, filename landed-cost-bill-import-template-YYYY-MM-DD.xlsx.
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.