Create a new invoice

Create an invoice from a given company ID to a given account ID. If you are invoicing another company that you manage look for their shared_account_id

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Company ID (c_xxxxxxxx) for company issuing the invoice. This is your own company or some entity that you manage via your Metal account

string
required

Account ID (a_xxxxxxxx) for account that is being issued the invoice. If invoicing another company in the platform, they should have a shared_account_id in the /companies output

Body Params

New invoice payload

items
array of objects
required

The line items on the invoice

items*
integer

Number of days for payment terms of invoice. Defaults to 30. Can also set to NONE

date

Specific date for invoice to be due. Overrides due_date_term if both are specified

string

Note to display on the invoice

Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Choose an example:
application/json