Create an invoice

post
/invoice

https://api.abowire.com/v1/invoice
This endpoint creates the invoice for a particular order.
Request
Response
Request
Headers
Authentication
required
string
Bearer authentication token
Body Parameters
order_id
required
string
ID of the order you want to invoice
Response
200: OK
{
"id": "test_invoice_48b74886632a663ad490c52038a17b73",
"uuid": "76659ad5-1ad4-4629-8682-b827ef0bc20b",
"number": "20200811-1",
"status": "pending-payment",
"billingPeriodStart": "2020-08-11T00:00:00.000Z",
"billingPeriodEnd": "2020-09-01T00:00:00.000Z",
"dueDate": "2020-08-11T15:16:36.000Z",
"paymentDate": null,
"created": "2020-08-11T15:16:35.000Z",
}