Skip to content

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.

ParameterDescription
guidstring
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 pathMandatoryDescription
totalBalanceYesnumber <double>
Total balance, i.e. balance of invoices and accounts combined.
accountBalanceYesnumber <double>
Account balance.
currencyCodeNostring
Currency identifier, for example SEK, NOK or EUR.
unsettledPaymentBalanceYesnumber <double>
Unsettled payment balance.
purchasesNoarray of object
List of purchases on this customer.
purchases[].reservationIdNointeger <int32>
Reservation Id.
purchases[].claimantReferenceNostring
Claimant reference.
purchases[].claimantNameNostring
Claimant name.
purchases[].invoiceNoNostring
Invoice number.
purchases[].creditorReferenceNostring
Creditor reference.
purchases[].descriptionNostring
Purchase escription.
purchases[].currencyCodeNostring
Currency code, e.g. SEK, NOK, EUR etc.
purchases[].purchaseAmountYesnumber <double>
Purchase amount.
purchases[].activatedAmountYesnumber <double>
Activated amount.
purchases[].remainingAmountYesnumber <double>
Remaining amount.
purchases[].campaignCodeNostring
Campaign code.
purchases[].campaignDescriptionNostring
Campaign description.
purchases[].customerAccountNumberNostring
Customer account number.
purchases[].originalCampaignAmountNonumber <double>
Original campaign amount.
purchases[].remainingCampaignAmountNonumber <double>
Remaining campaign amount.
purchases[].campaignFeeNonumber <double>
Campaign fee.
purchases[].totalNumberOfPaymentsNointeger <int32>
Total number of payments.
purchases[].remainingNumberOfPaymentsNointeger <int32>
Remaining number of payments.
purchases[].nextPeriodDateNostring <date-time>
Next period date.
purchases[].nextPeriodAmountNonumber <double>
Next period amount.
purchases[].lastPaymentDateNostring <date-time>
Last payment date.
purchases[].extraFieldsNoarray of object
List of extra fields.
purchases[].extraFields[].nameNostring
Name of extra field.
purchases[].extraFields[].dataNostring
Value of extra field.
invoicesNoarray of object
List of invoices on this customer.
invoices[].invoiceDateYesstring <date-time>
Invoice date.
invoices[].dueDateYesstring <date-time>
Invoice due date.
invoices[].descriptionNostring
Description of the invoice.
invoices[].invoiceNumberNostring
Invoice number.
invoices[].invoiceGroupingReferenceNostring
Grouping reference for the invoice.
invoices[].paymentReferenceNumberNostring
Payment reference number, e.g. OCR.
invoices[].paymentBankAccountNumberNostring
Bank account number where payment should go, e.g. Bankgiro.
invoices[].currencyCodeNostring
Currency code, e.g. SEK, NOK, EUR etc.
invoices[].invoiceAmountYesnumber <double>
Invoiced amount.
invoices[].minimumToPayYesnumber <double>
Minimum amount to pay for this invoice.
invoices[].minimumToPayIncludingCampaignNonumber <double>
Minimum amount to pay including used campaigns.
invoices[].customerAccountInvoiceYesboolean
Whether the invoice is for a customer account or not.
invoices[].invoiceStatusYesinteger <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[].reservationIdNointeger <int32>
ID of the reservation.
accountsNoarray of object
List of accounts on this customer.
accounts[].accountNumberNostring
Account number.
accounts[].uniqueIdNostring
Account guid.
accounts[].descriptionNostring
Account type code, e.g. DEPOSIT, LOAN etc.
accounts[].currencyCodeNostring
3 chars ISO 4217 currency code
accounts[].balanceYesnumber <double>
The current balance of the account.
guaranteesNoarray of object
List of guarantees where this customer is a guarantor.
guarantees[].guaranteeGuidNostring
Guarantee Guid
guarantees[].pledgeTypeNointeger <int32>
Type of guarantee 4 = Guarantee 5 = Full guarantee
guarantees[].referenceNumberNostring
Reference or identification number for pledge
guarantees[].guaranteeDateNostring <date-time>
Guarantee date
guarantees[].originalGuaranteeAmountNonumber <double>
Guarantee amount
guarantees[].guaranteeAmountNonumber <double>
Guarantee amount
guarantees[].descriptionNostring
Description of the pledge
guarantees[].noteNostring
Notes for this pledge
guarantees[].validUntilNostring <date-time>
Expiry date of the guarantee
guarantees[].guaranteeTypeYesinteger <int32>
Guarantee type 1 = Absolute guaranty 2 = Sec.obligation
collateralsNoarray of object
List of collaterals provided by this customer.
collaterals[].collateralGuidNostring
Collateral Guid
collaterals[].pledgeTypeNointeger <int32>
Type of pledge 1 = Fixed asset 2 = Movable/personal property 3 = Company mortgage 6 = Seizure
collaterals[].referenceNumberNostring
Reference or identification number for pledge
collaterals[].pledgeDateNostring <date-time>
Pledge date
collaterals[].pledgeAmountNonumber <double>
Pledge amount
collaterals[].descriptionNostring
Description of the collateral
collaterals[].noteNostring
Notes for this collateral
collaterals[].insurerNostring
Insurer for this collateral
collaterals[].insuranceNumberNostring
Insurance number for this collateral
collaterals[].insuredAmountNonumber <double>
Insured amount for this collateral
collaterals[].insuranceExpiryDateNostring <date-time>
Expiry date of the insurance for this collateral
collaterals[].realizedYesboolean
The collateral has been sold/realized
myGuarantorsNoarray of object
List of all my guarantors.
myGuarantors[].customerReferenceNostring
Customer reference
myGuarantors[].idNumberNostring
Customer ID
myGuarantors[].juridicalTypeNointeger <int32>
Type of credit applicant, juridically; ; Possible values:; 0 = Actual person; 1 = Juridical person, e.g a company
myGuarantors[].placeOfBirthNostring
Place of birth
myGuarantors[].dateOfBirthNostring <date-time>
Date of birth
myGuarantors[].fullNameNostring
Full name of the customer
myGuarantors[].vatNumberNostring
VAT number
myGuarantors[].naceCodeNostring
NACE code
myGuarantors[].homePhoneNostring
Home phone
myGuarantors[].workPhoneNostring
Work phone
myGuarantors[].cellularPhoneNostring
Cell phone
myGuarantors[].emailNostring
Email
myGuarantors[].languageCodeNostring
Language code e.g. sv, en etc. Use lowercase letters, for example sv or en.
myGuarantors[].currencyCodeNostring
Currency code, e.g. SEK, NOK, EUR etc.
myGuarantors[].guarantorGuidNostring
Guarantor unique identifier.
myGuarantors[].companyTypeNostring
Company type code.
myGuarantors[].linksNoarray of object
Links to guarantor, guarantees, loans, etc.
myGuarantors[].links[].typeNostring
Type of object
myGuarantors[].links[].nameNostring
Type of relation
myGuarantors[].links[].hrefNostring
URI to object
myGuarantors[].links[].resourceNostring
Resource type
myGuarantors[].links[].guidNostring
Resource guid
guaranteeForNoarray of object
List of all customers I am guarantor for.
guaranteeFor[].customerGuidNostring
Unique identifier for the customer
guaranteeFor[].customerReferenceNostring
Customer reference
guaranteeFor[].idNumberNostring
Customer ID
guaranteeFor[].juridicalTypeNointeger <int32>
Type of credit applicant, juridically; ; Possible values:; 0 = Actual person; 1 = Juridical person, e.g a company
guaranteeFor[].placeOfBirthNostring
Place of birth
guaranteeFor[].dateOfBirthNostring <date-time>
Date of birth
guaranteeFor[].fullNameNostring
Full name of the customer
guaranteeFor[].vatNumberNostring
VAT number
guaranteeFor[].naceCodeNostring
NACE code
guaranteeFor[].homePhoneNostring
Home phone
guaranteeFor[].workPhoneNostring
Work phone
guaranteeFor[].cellularPhoneNostring
Cell phone
guaranteeFor[].emailNostring
Email
guaranteeFor[].languageCodeNostring
Language code e.g. sv, en etc. Use lowercase letters, for example sv or en.
guaranteeFor[].currencyCodeNostring
Currency code, e.g. SEK, NOK, EUR etc.
guaranteeFor[].companyTypeNostring
Company type code.
guaranteeFor[].linksNoarray of object
Links to customer, loan, etc.
guaranteeFor[].links[].typeNostring
Type of object
guaranteeFor[].links[].nameNostring
Type of relation
guaranteeFor[].links[].hrefNostring
URI to object
guaranteeFor[].links[].resourceNostring
Resource type
guaranteeFor[].links[].guidNostring
Resource guid
allRelatedCustomersNoarray of object
List of all customers I am related to per customer role.
allRelatedCustomers[].customerGuidNostring
Unique identifier for the customer
allRelatedCustomers[].customerReferenceNostring
Customer reference
allRelatedCustomers[].idNumberNostring
Customer ID
allRelatedCustomers[].juridicalTypeNointeger <int32>
Type of credit applicant, juridically; ; Possible values:; 0 = Actual person; 1 = Juridical person, e.g a company
allRelatedCustomers[].placeOfBirthNostring
Place of birth
allRelatedCustomers[].dateOfBirthNostring <date-time>
Date of birth
allRelatedCustomers[].fullNameNostring
Full name of the customer
allRelatedCustomers[].vatNumberNostring
VAT number
allRelatedCustomers[].naceCodeNostring
NACE code
allRelatedCustomers[].homePhoneNostring
Home phone
allRelatedCustomers[].workPhoneNostring
Work phone
allRelatedCustomers[].cellularPhoneNostring
Cell phone
allRelatedCustomers[].emailNostring
Email
allRelatedCustomers[].languageCodeNostring
Language code e.g. sv, en etc. Use lowercase letters, for example sv or en.
allRelatedCustomers[].currencyCodeNostring
Currency code, e.g. SEK, NOK, EUR etc.
allRelatedCustomers[].customerRoleCodeNostring
Customer role
allRelatedCustomers[].companyTypeNostring
Company type code.
allRelatedCustomers[].linksNoarray of object
Links to customer, loan, etc.
allRelatedCustomers[].links[].typeNostring
Type of object
allRelatedCustomers[].links[].nameNostring
Type of relation
allRelatedCustomers[].links[].hrefNostring
URI to object
allRelatedCustomers[].links[].resourceNostring
Resource type
allRelatedCustomers[].links[].guidNostring
Resource guid
HTTP 400

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.

HTTP 401

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.

HTTP 403

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.

HTTP 404

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.

HTTP 408

Media types: application/json, application/vnd.error+json.

Field pathDescription
typestring or null
titlestring or null
statusinteger or null
detailstring or null
instancestring or null

Additional fields may be returned.