Bill POST

POST /api/account/{account}/accounting/{platform}/{id}/bill

Creates a Bill.

URL Parameters

account*Account
platform*Connection Platform
id*Connection ID

Request Body

datestring
amountnumber
amountDuenumber
currencystring
referencestring
billIdstring
debtorIdstring
updatedDatestring
dueDatestring
statusstring
itemsarray[object]
descriptionstring
ledgerstring
quantitynumber
amountnumber

Responses

200 OK
datestring
amountnumber
amountDuenumber
currencystring
referencestring
billIdstring
debtorIdstring
updatedDatestring
dueDatestring
statusstring
itemsarray[object]
descriptionstring
ledgerstring
quantitynumber
amountnumber
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error

Example Success Response

{
  "date": "string",
  "amount": 1,
  "amountDue": 1,
  "currency": "string",
  "reference": "string",
  "billId": "string",
  "debtorId": "string",
  "updatedDate": "string",
  "dueDate": "string",
  "status": "string",
  "items": [
    {
      "description": "string",
      "ledger": "string",
      "quantity": 1,
      "amount": 1
    }
  ]
}