Account Functions/Invoice Functions
Was this helpful?
Was this helpful?
Invoice related endpoints.\nNB! All Invoice data under the /account
endpoints require JSON and only UBL JSON data are supported.
""
""
POST /account/{accountRegNo}/action/invoice/outgoing/status/{integrationId} HTTP/1.1
Host: api-qa.qvalia.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2
{}
{
"status": "text",
"data": {
"message": "text",
"status": {
"document_id": "text",
"order_number": "text",
"payment_reference": "text",
"credit_note": "text",
"reminder": "text",
"status": "text",
"sent_at": "text",
"paid_at": "text",
"cancelled_at": "text",
"send_method": "text"
}
}
}
(Requires “Order to Cash” (O2C) or Order Management addon)\n/account/{accountRegNo}/action/invoice/createandsend/{integrationId}
\n\nThis Endpoint will use an Incoming Order and generate an Outgoing Invoice from it.\n\nNB! The Addressing (EndpointID) in the Order will be used as Address for the Outgoing Invoice!\n\nYou need to “update” the Order by using the overwrite flag on it to change the Addressing, if needed!
""
""
POST /account/{accountRegNo}/action/invoice/createandsend/{integrationId} HTTP/1.1
Host: api-qa.qvalia.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"send": {
"method": "text"
}
}
{
"status": "success",
"data": {
"message": "invoice successfully created and sent as email",
"data": {
"invoice": {
"Invoice": "UBL JSON Invoice data"
}
}
}
}