Endpoints for managing Accounts, Invoices, Estimates, and organization data in InvoiceXpress.
InvoiceXpress API (2.0.0)
Download OpenAPI description
Overview
InvoiceXpress API Support
Languages
Servers
Mock server
https://docs.invoicexpress.com/_mock/
Production Server
https://{account_name}.app.invoicexpress.com/
- Mock serverhttps://docs.invoicexpress.com/_mock/{guides-type}.json
- Production Serverhttps://your-account.app.invoicexpress.com/{guides-type}.json
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.invoicexpress.com/_mock/{guides-type}.json?api_key=YOUR_API_KEY%2CYOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"shipping": {
"date": "03/12/2017",
"due_date": "03/12/2017",
"loaded_at": "02/12/2017 19:00:00",
"license_plate": "11-AA-22",
"address_from": {
"detail": "Rua 5",
"city": "Lisboa",
"postal_code": "1000-555",
"country": "Portugal"
},
"address_to": {
"detail": "Avenida 10",
"city": "Porto",
"postal_code": "2000-555",
"country": "Portugal"
},
"reference": "999",
"observations": "Observations",
"retention": "0",
"tax_exemption": "M01",
"sequence_id": "12345",
"manual_sequence_number": "1",
"client": {
"name": "Client Name",
"code": "A1",
"email": "foo@bar.com",
"address": "Saldanha",
"city": "Lisbon",
"postal_code": "1050-555",
"country": "Portugal",
"fiscal_id": "508000000",
"website": "www.website.com",
"phone": "910000000",
"fax": "210000000",
"observations": "Observations"
},
"items": [
{
"name": "Item Name",
"description": "Item Description",
"unit_price": "100",
"quantity": "5",
"unit": "service",
"discount": "50",
"tax": {
"name": "IVA23"
}
}
],
"tax_exemption_reason": "M00",
"load_site": "Lisbon, Portugal",
"delivery_site": "Madrid, Spain"
}
}'SUCCESS
Creates a new quote, proforma or fees_note.
- 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.
Response
application/json
{ "shipping": { "id": 541797, "status": "final", "archived": false, "type": "Shipping", "sequence_number": "1/D", "inverted_sequence_number": "D/1", "atcud": "ABCD1234-1", "date": "13/07/2017", "due_date": "foo", "reference": "foo", "observations": "foo", "retention": "foo", "permalink": "https://www.app.invoicexpress.com/documents/541797d75bbee48911934cbd4a4294946a324295f52b08", "saft_hash": "vaDf", "sum": 1, "discount": 0, "before_taxes": 1, "taxes": 0.07, "total": 1.07, "currency": "Euro", "address_from": { … }, "address_to": { … }, "client": { … }, "items": [ … ], "sequence_id": "12345", "tax_exemption": "M01", "at_doc_code_id": "999", "license_plate": "11-AA-22" } }
- Mock serverhttps://docs.invoicexpress.com/_mock/{guides-type}/{document-id}.json
- Production Serverhttps://your-account.app.invoicexpress.com/{guides-type}/{document-id}.json
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.invoicexpress.com/_mock/{guides-type}/1050.json?api_key=YOUR_API_KEY%2CYOUR_API_KEY_HERE'SUCCESS
Creates a new quote, proforma or fees_note.
- 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.
Response
application/json
{ "shipping": { "id": 541797, "status": "final", "archived": false, "type": "Shipping", "sequence_number": "1/D", "inverted_sequence_number": "D/1", "atcud": "ABCD1234-1", "date": "13/07/2017", "due_date": "foo", "reference": "foo", "observations": "foo", "retention": "foo", "permalink": "https://www.app.invoicexpress.com/documents/541797d75bbee48911934cbd4a4294946a324295f52b08", "saft_hash": "vaDf", "sum": 1, "discount": 0, "before_taxes": 1, "taxes": 0.07, "total": 1.07, "currency": "Euro", "address_from": { … }, "address_to": { … }, "client": { … }, "items": [ … ], "sequence_id": "12345", "tax_exemption": "M01", "at_doc_code_id": "999", "license_plate": "11-AA-22" } }
- Mock serverhttps://docs.invoicexpress.com/_mock/{guides-type}/{document-id}.json
- Production Serverhttps://your-account.app.invoicexpress.com/{guides-type}/{document-id}.json
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.invoicexpress.com/_mock/{guides-type}/1050.json?api_key=YOUR_API_KEY%2CYOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"shipping": {
"date": "03/12/2017",
"due_date": "03/12/2017",
"loaded_at": "02/12/2017 19:00:00",
"license_plate": "11-AA-22",
"address_from": {
"detail": "Rua 5",
"city": "Lisboa",
"postal_code": "1000-555",
"country": "Portugal"
},
"address_to": {
"detail": "Avenida 10",
"city": "Porto",
"postal_code": "2000-555",
"country": "Portugal"
},
"reference": "999",
"observations": "Observations",
"retention": "0",
"tax_exemption": "M01",
"sequence_id": "12345",
"manual_sequence_number": "1",
"client": {
"name": "Client Name",
"code": "A1",
"email": "foo@bar.com",
"address": "Saldanha",
"city": "Lisbon",
"postal_code": "1050-555",
"country": "Portugal",
"fiscal_id": "508000000",
"website": "www.website.com",
"phone": "910000000",
"fax": "210000000",
"observations": "Observations"
},
"items": [
{
"name": "Item Name",
"description": "Item Description",
"unit_price": "100",
"quantity": "5",
"unit": "service",
"discount": "50",
"tax": {
"name": "IVA23"
}
}
],
"tax_exemption_reason": "M00",
"load_site": "Lisbon, Portugal",
"delivery_site": "Madrid, Spain"
}
}'SUCCESS
Creates a new quote, proforma or fees_note.
- 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.
Response
application/json
{ "shipping": { "id": 541797, "status": "final", "archived": false, "type": "Shipping", "sequence_number": "1/D", "inverted_sequence_number": "D/1", "atcud": "ABCD1234-1", "date": "13/07/2017", "due_date": "foo", "reference": "foo", "observations": "foo", "retention": "foo", "permalink": "https://www.app.invoicexpress.com/documents/541797d75bbee48911934cbd4a4294946a324295f52b08", "saft_hash": "vaDf", "sum": 1, "discount": 0, "before_taxes": 1, "taxes": 0.07, "total": 1.07, "currency": "Euro", "address_from": { … }, "address_to": { … }, "client": { … }, "items": [ … ], "sequence_id": "12345", "tax_exemption": "M01", "at_doc_code_id": "999", "license_plate": "11-AA-22" } }
- Mock serverhttps://docs.invoicexpress.com/_mock/{guides-type}/{document-id}/change-state.json
- Production Serverhttps://your-account.app.invoicexpress.com/{guides-type}/{document-id}/change-state.json
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.invoicexpress.com/_mock/{guides-type}/1050/change-state.json?api_key=YOUR_API_KEY%2CYOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"shipping": {
"state": "finalized",
"message": "Wrong value"
}
}'SUCCESS
Creates a new quote, proforma or fees_note.
- 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.
Response
application/json
{ "shipping": { "id": 541797, "status": "final", "archived": false, "type": "Shipping", "sequence_number": "1/D", "inverted_sequence_number": "D/1", "atcud": "ABCD1234-1", "date": "13/07/2017", "due_date": "foo", "reference": "foo", "observations": "foo", "retention": "foo", "permalink": "https://www.app.invoicexpress.com/documents/541797d75bbee48911934cbd4a4294946a324295f52b08", "saft_hash": "vaDf", "sum": 1, "discount": 0, "before_taxes": 1, "taxes": 0.07, "total": 1.07, "currency": "Euro", "address_from": { … }, "address_to": { … }, "client": { … }, "items": [ … ], "sequence_id": "12345", "tax_exemption": "M01", "at_doc_code_id": "999", "license_plate": "11-AA-22" } }
- Mock serverhttps://docs.invoicexpress.com/_mock/{guides-type}/{document-id}/email-document.json
- Production Serverhttps://your-account.app.invoicexpress.com/{guides-type}/{document-id}/email-document.json
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.invoicexpress.com/_mock/{guides-type}/1050/email-document.json?api_key=YOUR_API_KEY%2CYOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"message": {
"client": {
"email": "dest@mail.com",
"save": "1"
},
"subject": "Invoice",
"body": "Attached.",
"cc": "cc@mail.com",
"bcc": "bcc@mail.com",
"logo": "1"
}
}'- Mock serverhttps://docs.invoicexpress.com/_mock/api/pdf/{document-id}.json
- Production Serverhttps://your-account.app.invoicexpress.com/api/pdf/{document-id}.json
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.invoicexpress.com/_mock/api/pdf/1050.json?api_key=YOUR_API_KEY%2CYOUR_API_KEY_HERE&second_copy=false'Response
application/json
{ "output": { "pdfUrl": "url.pdf" } }
- Mock serverhttps://docs.invoicexpress.com/_mock/api/qr_codes/{document-id}.json
- Production Serverhttps://your-account.app.invoicexpress.com/api/qr_codes/{document-id}.json
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.invoicexpress.com/_mock/api/qr_codes/1050.json?api_key=YOUR_API_KEY%2CYOUR_API_KEY_HERE'Response
application/json
{ "qr_code": { "url": "url.png" } }
- Mock serverhttps://docs.invoicexpress.com/_mock/guides.json
- Production Serverhttps://your-account.app.invoicexpress.com/guides.json
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.invoicexpress.com/_mock/guides.json?api_key=YOUR_API_KEY%2CYOUR_API_KEY_HERE&text=string&type%5B%5D=Shipping&status%5B%5D=sent&non_archived=true&archived=true&loaded_at%5Bfrom%5D=string&loaded_at%5Bto%5D=string&page=0&per_page=0'SUCCESS
Creates a new quote, proforma or fees_note.
- 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.
Response
application/json
{ "guides": { "id": 541797, "status": "final", "archived": false, "type": "Shipping", "sequence_number": "1/D", "inverted_sequence_number": "D/1", "atcud": "ABCD1234-1", "date": "13/07/2017", "due_date": "foo", "reference": "foo", "observations": "foo", "retention": "foo", "permalink": "https://www.app.invoicexpress.com/documents/541797d75bbee48911934cbd4a4294946a324295f52b08", "saft_hash": "vaDf", "sum": 1, "discount": 0, "before_taxes": 1, "taxes": 0.07, "total": 1.07, "currency": "Euro", "address_from": { … }, "address_to": { … }, "client": { … }, "items": [ … ], "sequence_id": "12345", "tax_exemption": "M01", "at_doc_code_id": "999", "license_plate": "11-AA-22" }, "pagination": { "total_entries": 50, "per_page": 20, "current_page": 1, "total_pages": 3 } }