Invoices
Create a new invoice
Changed onCreate 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 URLhttps://api.newmoneycompany.com
- AuthHTTP 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
Response
The new invoice object
Example response
{
"data": {
"denomination": "USD",
"total_amount": 500
}
}Changes
- info
endpoint added
- info