Get Purchase Invoice
Get invoice purchase status
GET /v1/Invoices/{invoiceGuid}/Purchase
Use the Test or Production base URL configured under Overview.
Path parameters
| Parameter | Mandatory | Description |
|---|---|---|
| invoiceGuid | Yes | string Invoice guid |
Query parameters
| Parameter | Mandatory | Description |
|---|---|---|
| initialValues | No | boolean Initial values |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Response fields
HTTP 200
| Field path | Mandatory | Description |
|---|---|---|
| values | Yes | object Purchase invoice |
| values.purchaseFeeAmount | No | number <double> or null Purchase fee (will be calculated if omitted) |
| values.purchaseFeeCurrency | No | string or null Currency code of purchase fee |
| values.purchaseFeePercentage | No | number <double> or null Purchase fee in percent |
| values.invoiceItemId | No | integer <int32> or null Sets the invoice item id. |
| values.approved | No | boolean or null Sets if the purchase is approved. Default is true. |
| values.recourseDays | No | integer <int32> or null Purchase invoice with recourse rights |
| values.depositAmount | No | number <double> or null Optional amount kept as deposit until payment from customer |
| values.note | No | string or null Any additional note |
| values.currencycode | No | string or null The currency code for the remaining principal |
| values.remainingprincipal | No | number <double> or null The remaining principal of the invoice |
| values.remainingfee | No | number <double> or null The remaining fee of the invoice |
| values.remainingtotalamount | No | number <double> or null The remaining total amount of the invoice |
| values.registrationdate | No | string <date-time> or null The date of the credit check |
| values.applications | No | integer <int32> or null The number of applications for the current debtor |
| values.applicationsum | No | number <double> or null The number of applications for the current debtor |
| values.sumgovernmentcases | No | number <double> or null Sum of govurmental claims (ex. taxes) |
| values.sumprivatecases | No | number <double> or null Sum of corporate claims |
| values.creditlimit | No | number <double> or null The debtors credit limit |
| values.assessedsalary | No | number <double> or null The debtors annual salary |
| values.mortgagesumcompany | No | number <double> or null Sum of performing loans |
| values.mortgagesumbankrupt | No | number <double> or null Sum of none performing loans |
| values.usernote | No | string or null User note regarding last credit check |
| options | Yes | object — |
HTTP 400
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 401
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 403
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 404
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 408
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
