v1
latestOpenAPI 3.1.02026-08-0658107212.4 KBInvoices
Related Documents
get/document/{document-id}/related_documents.json
Path parameters
document-idinteger required
Example:1050
The ID of the document.
Query parameters
api_keystring required
Example:YOUR_API_KEY
Your API Key.
Response
SUCCESS
Creates a new quote, proforma or fees_note.
Possible values for field atcud:
- ABCD1234-1 (or similar) - Unique document identifier to the Tax Authority, when the sequence is registered.
- N/D - The document's sequence is relevant for ATCUD but is not registered in the Tax Authority.
- N/A - The document's sequence is not relevant for ATCUD and is not registered in the Tax Authority.
Example response
{
"documents": [
{
"id": 541793,
"status": "final",
"archived": true,
"type": "Invoice",
"sequence_number": "28/A",
"inverted_sequence_number": "A/28",
"atcud": "ABCD1234-28",
"date": "27/06/2017",
"due_date": "27/06/2017",
"reference": "foo",
"observations": "foo",
"retention": "foo",
"permalink": "https://www.app.invoicexpress.com/documents/541793e1ab2ebd5c06def40c346ffbe0ff2b463eb1c0f0",
"saft_hash": "Tdik",
"sum": 1,
"before_taxes": 1,
"taxes": 0.07,
"total": 1.07,
"currency": "Euro",
"sequence_id": "12345",
"tax_exemption": "M01",
"client": {
"id": 1310176,
"name": "John",
"country": "Portugal"
},
"items": [
{
"name": " iPhone ",
"description": "foo",
"unit_price": "1.0",
"unit": "foo",
"quantity": "1.0",
"subtotal": 1,
"tax_amount": 0.07,
"total": 1.07,
"tax": {
"id": 31597,
"name": "IVA7",
"value": 7
}
}
]
}
]
}