Invoices

Create a new invoice

Changed on

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

post/v1/companies/{company_id}/accounts/{account_id}/invoices

Request

  • Base URL
    https://api.newmoneycompany.com
  • Auth
    HTTP basic

Path parameters

company_idstring 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

account_idstring 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

Request body

due_date_terminteger

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

due_datestring date

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

notestring

Note to display on the invoice

Response

The new invoice object

Example response

{
  "data": {
    "denomination": "USD",
    "total_amount": 500
  }
}

Changes