Fields when send to the api inside a request.
Field | Type | Description |
---|
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
id | Int | An integer value |
start_date | Date | Date in YYYY-MM-DD |
end_date | Date | Date in YYYY-MM-DD |
description | String | A String value |
amount | Int | Invoice amount in cents |
currency | Currency | 3 letter ISO 4217 currency name (string) |
url | URL | An URL field starting with http:// or https:// |
When used inside a request.
[]
When returned in a response.
{
"id": 12,
"start_date": "2019-01-31",
"end_date": "2019-01-31",
"description": "...",
"amount": 12,
"currency": "EUR",
"url": "https://example.com"
}