getInvoicesByPno
Get invoices filtered by personal identification number.
An example can be found here Get invoices by pno example
Request
Data
Property | Required | Type | Description |
---|---|---|---|
pno | true | string | The personal identification number of the customer. |
status | true | string | The only allowed statuses are Sent and Sent,Paid. All other will result in an 7022 exception. |
Status
Status | Description |
---|---|
Sent | Sent invoices. The distributor status has to be either |
Sent,Paid | Sent and paid invoices. Either the distributor status has to be |
Function
Property | Required | Type | Description |
---|---|---|---|
function | true | string | The function name to be used, for this page it’s getInvoicesByPno |
Response
The response will contain an array of invoices.
Invoice properties
Property | Type | Description |
---|---|---|
status | string | Status |
name | string | Customer name |
invoicedate | string | Invoice date |
duedate | string | Due date |
topay | string | Amount to pay. Will be negative for credit invoices. |
invoiceid_real | int | Invoice number |
fileurl | string | File URL. The fileurl is not always present. The url might also point to a non-existing address due to changes over time. |
balancedue | int | Balance due for this payment |
invoicetype | string | Type of invoice. F = Invoice (Faktura) , K = Credit invoice (Kreditfaktura), KN = Cash invoice (Kontantnota), RF = Interest invoice (Räntefaktura) |
distributor_status | string | Distributor status. |
creditinvoiceid | int | Invoice id for credit invoice if not empty |
hash | string | Hash value for the invoice |
mm3servicesid | int | Internal service id |
mexcModulesid | int | Internal module id |
mexcCustomerinvoicesid | int | Invoice id |