getInvoiceByHash
This function is used to get the invoice by hash.
The hash is a unique identifier for the invoice. It is generated when the invoice is created and is used to identify the invoice.
An example can be found here Get invoices by hash example
Request
Data
Parameter | Required | Type | Description |
---|---|---|---|
hash | true | string | The hash of the invoice. |
Function
Property | Required | Type | Description |
---|---|---|---|
function | true | string | The function name to be used, for this page it’s getInvoiceByHash |
Response
Property | Type | Description |
---|---|---|
apiLogsid | string | The log id of the invoice. |
Cart | object | The cart of the invoice. |
Customer | object | The customer of the invoice. |
Articles | array | The articles of the invoice. |
PaymentData | object | The payment data of the invoice. |
PaymentInfo | object | The payment info of the invoice. |
PaymentInfo | object | The payment info of the invoice. |
alladdresses | string | The number of addresses. |
apiVersion | string | The version of the API. |
Cart properties
Property | Type | Description |
---|---|---|
Total | object | The total of the cart. |
Shipping | object | The shipping of the cart. |
Handling | object | The handling of the cart. |
Total properties
Property | Type | Description |
---|---|---|
rounding | string | The rounding of total. |
withtax | string | The total with tax. |
withouttax | string | The total without tax. |
tax | string | The tax of the total. |
Shipping properties
Property | Type | Description |
---|---|---|
taxrate | string | The tax rate of shipping. |
withouttax | string | The shipping without tax. |
Handling properties
Property | Type | Description |
---|---|---|
taxrate | string | The tax rate of handling. |
withouttax | string | The handling without tax. |
Customer properties
Property | Type | Description |
---|---|---|
nr | string | The customer number. |
pno | string | The personal number of the customer. |
Shipping | object | The shipping address of the customer. |
Billing | object | The billing address of the customer. |
companySigner | object | The company signer of the customer. |
Customer shipping properties
Property | Type | Description |
---|---|---|
street | string | The street of the address. |
city | string | The city of the address. |
country | string | The country of the address. |
phone | string | The phone of the address. |
company | string | The company of the address. |
zip | string | The zip of the address. |
type | string | The type of the address. |
street2 | string | The second street of the address. |
Customer billing properties
Property | Type | Description |
---|---|---|
street | string | The street of the billing address. |
city | string | The city of the billing address. |
country | string | The country of the billing address. |
phone | string | The phone of the billing address. |
lastname | string | The lastname of the billing address. |
company | string | The company of the billing address. |
firstname | string | The firstname of the billing address. |
zip | string | The zip of the billing address. |
string | The email of the billing address. | |
type | string | The type of the billing address. |
street2 | string | The second street of the billing address. |
Customer companySigner properties
Property | Type | Description |
---|---|---|
pno | string | The personal number of the company signer. |
Articles properties
Property | Type | Description |
---|---|---|
aprice | string | The price of the article. |
quantity | string | The quantity of the article. |
title | string | The title of the article. |
discount | string | The discount of the article. |
artnr | string | The article number of the article. |
withouttax | string | The article without tax. |
taxrate | string | The tax rate of the article. |
PaymentData properties
Property | Type | Description |
---|---|---|
autoactivate | string | The autoactivate of the payment. |
status | string | The status of the payment. |
paymentid_related | string | The related payment id. |
returnmethod | string | The return method of the payment. |
url | string | The url of the payment. |
orderid | string | The order id of the payment. |
cancelurl | string | The cancel url of the payment. |
language | string | The language of the payment. |
accepturl | string | The accept url of the payment. |
callbackurl | string | The callback url of the payment. |
alladdresses | array | The addresses of the payment. |
number | string | The number of the payment. |
currency | string | The currency of the payment. |
country | string | The country of the payment. |
method | string | The method of the payment. |
All address properties
Property | Type | Description |
---|---|---|
street | string | The street of the address. |
city | string | The city of the address. |
country | string | The country of the address. |
phone | string | The phone of the address. |
company | string | The company of the address. |
zip | string | The zip of the address. |
string | The email of the address. | |
type | string | The type of the address. |
PaymentInfo properties
Property | Type | Description |
---|---|---|
yourreference | string | Your reference of the payment. |
projectname | string | The project name of the payment. |
deliverymethod | string | The delivery method of the payment. |
paymentdate | string | The payment date of the payment. |
ourreference | string | Our reference of the payment. |
invoiceStatus | string | The status of the invoice. |
balancedue | string | The balance due of the payment. |
deliveryterms | string | The delivery terms of the payment. |
paymentterms | string | The payment terms of the payment. |