Get Customer Ledger Summary
Get customer ledger summary.
GET /v1/Customers/{guid}/LedgerSummary
Use the Test or Production base URL configured under Overview.
Path parameters
All path parameters are required.
| Parameter | Description |
|---|---|
| guid | string The GUID representing the customer. |
Query parameters
This call has no query parameters.
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview. No OAuth scope is required. TBD: Any additional access permissions. Content types below come from the source.
Request body fields
No request body is declared in the source.
Response fields
Mandatory describes null handling: No means the source permits null, while Yes means it does not.
HTTP 200
Media types: application/json, application/vnd.error+json.
| Field path | Mandatory | Description |
|---|---|---|
| totalBalance | Yes | number <double> Total balance, i.e. balance of invoices and accounts combined. |
| accountBalance | Yes | number <double> Account balance. |
| currencyCode | No | string Currency identifier, for example SEK, NOK or EUR. |
| unsettledPaymentBalance | Yes | number <double> Unsettled payment balance. |
| purchases | No | array of object List of purchases on this customer. |
| purchases[].reservationId | No | integer <int32> Reservation Id. |
| purchases[].claimantReference | No | string Claimant reference. |
| purchases[].claimantName | No | string Claimant name. |
| purchases[].invoiceNo | No | string Invoice number. |
| purchases[].creditorReference | No | string Creditor reference. |
| purchases[].description | No | string Purchase escription. |
| purchases[].currencyCode | No | string Currency code, e.g. SEK, NOK, EUR etc. |
| purchases[].purchaseAmount | Yes | number <double> Purchase amount. |
| purchases[].activatedAmount | Yes | number <double> Activated amount. |
| purchases[].remainingAmount | Yes | number <double> Remaining amount. |
| purchases[].campaignCode | No | string Campaign code. |
| purchases[].campaignDescription | No | string Campaign description. |
| purchases[].customerAccountNumber | No | string Customer account number. |
| purchases[].originalCampaignAmount | No | number <double> Original campaign amount. |
| purchases[].remainingCampaignAmount | No | number <double> Remaining campaign amount. |
| purchases[].campaignFee | No | number <double> Campaign fee. |
| purchases[].totalNumberOfPayments | No | integer <int32> Total number of payments. |
| purchases[].remainingNumberOfPayments | No | integer <int32> Remaining number of payments. |
| purchases[].nextPeriodDate | No | string <date-time> Next period date. |
| purchases[].nextPeriodAmount | No | number <double> Next period amount. |
| purchases[].lastPaymentDate | No | string <date-time> Last payment date. |
| purchases[].extraFields | No | array of object List of extra fields. |
| purchases[].extraFields[].name | No | string Name of extra field. |
| purchases[].extraFields[].data | No | string Value of extra field. |
| invoices | No | array of object List of invoices on this customer. |
| invoices[].invoiceDate | Yes | string <date-time> Invoice date. |
| invoices[].dueDate | Yes | string <date-time> Invoice due date. |
| invoices[].description | No | string Description of the invoice. |
| invoices[].invoiceNumber | No | string Invoice number. |
| invoices[].invoiceGroupingReference | No | string Grouping reference for the invoice. |
| invoices[].paymentReferenceNumber | No | string Payment reference number, e.g. OCR. |
| invoices[].paymentBankAccountNumber | No | string Bank account number where payment should go, e.g. Bankgiro. |
| invoices[].currencyCode | No | string Currency code, e.g. SEK, NOK, EUR etc. |
| invoices[].invoiceAmount | Yes | number <double> Invoiced amount. |
| invoices[].minimumToPay | Yes | number <double> Minimum amount to pay for this invoice. |
| invoices[].minimumToPayIncludingCampaign | No | number <double> Minimum amount to pay including used campaigns. |
| invoices[].customerAccountInvoice | Yes | boolean Whether the invoice is for a customer account or not. |
| invoices[].invoiceStatus | Yes | integer <int32> The status of the invoice.; ; Possible values:; 0 = Invoice status unknown.; 1 = Invoice has been paid.; 2 = Invoice is not paid.; 3 = Invoice is overdue.; 4 = More than requested amount has been paid on invoice.; 5 = Reminder sent for invoice.; 6 = Invoice sent to debt collection.; 7 = Invoice has been credited.; 8 = Invoice has been converted to account. |
| invoices[].reservationId | No | integer <int32> ID of the reservation. |
| accounts | No | array of object List of accounts on this customer. |
| accounts[].accountNumber | No | string Account number. |
| accounts[].uniqueId | No | string Account guid. |
| accounts[].description | No | string Account type code, e.g. DEPOSIT, LOAN etc. |
| accounts[].currencyCode | No | string 3 chars ISO 4217 currency code |
| accounts[].balance | Yes | number <double> The current balance of the account. |
| guarantees | No | array of object List of guarantees where this customer is a guarantor. |
| guarantees[].guaranteeGuid | No | string Guarantee Guid |
| guarantees[].pledgeType | No | integer <int32> Type of guarantee 4 = Guarantee 5 = Full guarantee |
| guarantees[].referenceNumber | No | string Reference or identification number for pledge |
| guarantees[].guaranteeDate | No | string <date-time> Guarantee date |
| guarantees[].originalGuaranteeAmount | No | number <double> Guarantee amount |
| guarantees[].guaranteeAmount | No | number <double> Guarantee amount |
| guarantees[].description | No | string Description of the pledge |
| guarantees[].note | No | string Notes for this pledge |
| guarantees[].validUntil | No | string <date-time> Expiry date of the guarantee |
| guarantees[].guaranteeType | Yes | integer <int32> Guarantee type 1 = Absolute guaranty 2 = Sec.obligation |
| collaterals | No | array of object List of collaterals provided by this customer. |
| collaterals[].collateralGuid | No | string Collateral Guid |
| collaterals[].pledgeType | No | integer <int32> Type of pledge 1 = Fixed asset 2 = Movable/personal property 3 = Company mortgage 6 = Seizure |
| collaterals[].referenceNumber | No | string Reference or identification number for pledge |
| collaterals[].pledgeDate | No | string <date-time> Pledge date |
| collaterals[].pledgeAmount | No | number <double> Pledge amount |
| collaterals[].description | No | string Description of the collateral |
| collaterals[].note | No | string Notes for this collateral |
| collaterals[].insurer | No | string Insurer for this collateral |
| collaterals[].insuranceNumber | No | string Insurance number for this collateral |
| collaterals[].insuredAmount | No | number <double> Insured amount for this collateral |
| collaterals[].insuranceExpiryDate | No | string <date-time> Expiry date of the insurance for this collateral |
| collaterals[].realized | Yes | boolean The collateral has been sold/realized |
| myGuarantors | No | array of object List of all my guarantors. |
| myGuarantors[].customerReference | No | string Customer reference |
| myGuarantors[].idNumber | No | string Customer ID |
| myGuarantors[].juridicalType | No | integer <int32> Type of credit applicant, juridically; ; Possible values:; 0 = Actual person; 1 = Juridical person, e.g a company |
| myGuarantors[].placeOfBirth | No | string Place of birth |
| myGuarantors[].dateOfBirth | No | string <date-time> Date of birth |
| myGuarantors[].fullName | No | string Full name of the customer |
| myGuarantors[].vatNumber | No | string VAT number |
| myGuarantors[].naceCode | No | string NACE code |
| myGuarantors[].homePhone | No | string Home phone |
| myGuarantors[].workPhone | No | string Work phone |
| myGuarantors[].cellularPhone | No | string Cell phone |
| myGuarantors[].email | No | string |
| myGuarantors[].languageCode | No | string Language code e.g. sv, en etc. Use lowercase letters, for example sv or en. |
| myGuarantors[].currencyCode | No | string Currency code, e.g. SEK, NOK, EUR etc. |
| myGuarantors[].guarantorGuid | No | string Guarantor unique identifier. |
| myGuarantors[].companyType | No | string Company type code. |
| myGuarantors[].links | No | array of object Links to guarantor, guarantees, loans, etc. |
| myGuarantors[].links[].type | No | string Type of object |
| myGuarantors[].links[].name | No | string Type of relation |
| myGuarantors[].links[].href | No | string URI to object |
| myGuarantors[].links[].resource | No | string Resource type |
| myGuarantors[].links[].guid | No | string Resource guid |
| guaranteeFor | No | array of object List of all customers I am guarantor for. |
| guaranteeFor[].customerGuid | No | string Unique identifier for the customer |
| guaranteeFor[].customerReference | No | string Customer reference |
| guaranteeFor[].idNumber | No | string Customer ID |
| guaranteeFor[].juridicalType | No | integer <int32> Type of credit applicant, juridically; ; Possible values:; 0 = Actual person; 1 = Juridical person, e.g a company |
| guaranteeFor[].placeOfBirth | No | string Place of birth |
| guaranteeFor[].dateOfBirth | No | string <date-time> Date of birth |
| guaranteeFor[].fullName | No | string Full name of the customer |
| guaranteeFor[].vatNumber | No | string VAT number |
| guaranteeFor[].naceCode | No | string NACE code |
| guaranteeFor[].homePhone | No | string Home phone |
| guaranteeFor[].workPhone | No | string Work phone |
| guaranteeFor[].cellularPhone | No | string Cell phone |
| guaranteeFor[].email | No | string |
| guaranteeFor[].languageCode | No | string Language code e.g. sv, en etc. Use lowercase letters, for example sv or en. |
| guaranteeFor[].currencyCode | No | string Currency code, e.g. SEK, NOK, EUR etc. |
| guaranteeFor[].companyType | No | string Company type code. |
| guaranteeFor[].links | No | array of object Links to customer, loan, etc. |
| guaranteeFor[].links[].type | No | string Type of object |
| guaranteeFor[].links[].name | No | string Type of relation |
| guaranteeFor[].links[].href | No | string URI to object |
| guaranteeFor[].links[].resource | No | string Resource type |
| guaranteeFor[].links[].guid | No | string Resource guid |
| allRelatedCustomers | No | array of object List of all customers I am related to per customer role. |
| allRelatedCustomers[].customerGuid | No | string Unique identifier for the customer |
| allRelatedCustomers[].customerReference | No | string Customer reference |
| allRelatedCustomers[].idNumber | No | string Customer ID |
| allRelatedCustomers[].juridicalType | No | integer <int32> Type of credit applicant, juridically; ; Possible values:; 0 = Actual person; 1 = Juridical person, e.g a company |
| allRelatedCustomers[].placeOfBirth | No | string Place of birth |
| allRelatedCustomers[].dateOfBirth | No | string <date-time> Date of birth |
| allRelatedCustomers[].fullName | No | string Full name of the customer |
| allRelatedCustomers[].vatNumber | No | string VAT number |
| allRelatedCustomers[].naceCode | No | string NACE code |
| allRelatedCustomers[].homePhone | No | string Home phone |
| allRelatedCustomers[].workPhone | No | string Work phone |
| allRelatedCustomers[].cellularPhone | No | string Cell phone |
| allRelatedCustomers[].email | No | string |
| allRelatedCustomers[].languageCode | No | string Language code e.g. sv, en etc. Use lowercase letters, for example sv or en. |
| allRelatedCustomers[].currencyCode | No | string Currency code, e.g. SEK, NOK, EUR etc. |
| allRelatedCustomers[].customerRoleCode | No | string Customer role |
| allRelatedCustomers[].companyType | No | string Company type code. |
| allRelatedCustomers[].links | No | array of object Links to customer, loan, etc. |
| allRelatedCustomers[].links[].type | No | string Type of object |
| allRelatedCustomers[].links[].name | No | string Type of relation |
| allRelatedCustomers[].links[].href | No | string URI to object |
| allRelatedCustomers[].links[].resource | No | string Resource type |
| allRelatedCustomers[].links[].guid | No | string Resource guid |
HTTP 400
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 401
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 403
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 404
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 408
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
