Get Invoice
Get invoice details.
GET /v1/Invoices/{guid}
Use the Test or Production base URL configured under Overview.
Path parameters
| Parameter | Mandatory | Description |
|---|---|---|
| guid | Yes | string The GUID representing the invoice. |
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 |
|---|---|---|
| creditorReference | No | string or null Party reference code. |
| invoiceNumber | No | string or null Invoice number. |
| deliverySystemCode | No | string or null Delivery system code. |
| paymentReference | No | string or null Payment reference. |
| service | No | string or null Service name (Invoicing / ReceivableLdg / Paymentplan / PreCollection / Collection / Legal / Surveillance / External / JournalCase). This is default values that may be used as servicecode but via configuration changes may be made, for an exact list, contact the service provider. |
| claimantName | No | string or null Claimant name. |
| invoiceDat | No | string <date-time> or null Date of invoice. |
| dueDate | No | string <date-time> or null Due date of invoice. |
| purchased | Yes | boolean True if the invoice is purchased (factoring) |
| paymentCode | No | string or null Payment code. |
| printCode | No | string or null Print code (currently one of predefined values EMAIL / PRINT / EMAIL; PRINT / FAKTURA). |
| formCode | No | string or null Form code (currently one of predefined values MALL1 / PRINTTEST / DUSTIN / Invoice1 / temp / PRINT / DUSTIN_KVITTO). |
| receiverReference | No | string or null Receiver reference - usualy e-mail address. |
| preferredChannel | No | string or null Preferred way of communication (Letter / Email / SMS / E-invoice). |
| externalReferenceCode | No | string or null External ledger reference code. |
| paymentProductCode | No | string or null Payment product code (ACCOUNT / INVOICE or some others). |
| marketplaceReferenceCode | No | string or null Marketplace reference code. |
| financeStatus | No | integer <int32> or null Invoice financing status 0 = own accounts receivable 1 = service 2 = purchased 3 = purchased with recourse 4 = recoursed 5 = pledged (for factoring loan) |
| customer | Yes | object Holds customer information. |
| customer.customerReference | No | string or null Customer reference. |
| customer.idNumber | No | string or null Customer ID number. |
| customer.juridicalType | No | integer <int32> or null Customer person juridical type. 0 = NaturalPerson, 1 = Juridical person, e.g a company. |
| customer.customerRole | No | integer <int32> or null Customer role. 1 = Debtor, 2 = Guarantor, 3 = Coapplicant 4 = Estatebeneficiary, 5 = Tradingcompanypartner 6 = Generalpartner 7 = Custodian, 16 = Solventperson |
| customer.placeOfBirth | No | string or null Customer's place of birth. |
| customer.dateOfBirth | No | string <date-time> or null Customer's date of birth. |
| customer.gender | No | integer <int32> or null Customer's gender. 0 = Male, 1 = Female |
| customer.cultureCode | No | string or null Customer's time and currency format. |
| customer.title | No | string or null Customer's salutation. |
| customer.firstname | No | string or null Customer's first name. |
| customer.middlename | No | string or null Customer's middle name. |
| customer.lastname | No | string or null Customer's last name. |
| customer.nameSuffix | No | string or null Customer's name suffix. |
| customer.careOf | No | string or null Customer's c/o address. |
| customer.street | No | string or null Customer's street. |
| customer.houseNo | No | string or null Customer's house number. |
| customer.houseNoExtension | No | string or null Customer's house number extension. |
| customer.city | No | string or null Customer's city. |
| customer.stateCode | No | string or null Customer's state code. |
| customer.zipCode | No | string or null Customer's zipcode. |
| customer.fullAddress | No | string or null Customer's full address. |
| customer.addressNotValidOverride | No | boolean or null Should address be validated. |
| customer.countryCode | No | string or null Customer's country code. |
| customer.country | No | string or null Customer's country. |
| customer.domicile | No | string or null Customer's domicile. |
| customer.municipalCode | No | string or null Customer's municipal code. |
| customer.vatNumber | No | string or null Customer's VAT number. |
| customer.companyType | No | string or null Company type code. |
| customer.glnNumber | No | string or null Customer's GLN number. |
| customer.naceCode | No | string or null Customer's NACE code. |
| customer.eInvoiceReceiverId | No | string or null Customer's e-invoice receiver number. |
| customer.homePhone | No | string or null Customer's domestic phone number. |
| customer.workPhone | No | string or null Customer's work phone number. |
| customer.cellularPhone | No | string or null Customer's cellular phone number. |
| customer.telefax | No | string or null Customer's telefax number. |
| customer.email | No | string or null Customer's e-mail. |
| customer.languageCode | No | string or null Customer's language code. Use lowercase letters, for example sv or en. |
| customer.currencyCode | No | string or null Currency code, e.g. SEK, NOK, EUR etc. |
| customer.preferredchannel | No | string or null Customer's preferred channel of communication (Letter / Email / SMS / E-invoice). |
| customer.underAged | No | boolean or null Is the customer underaged. |
| customer.externPaymentTypeCode | No | string or null External payment type code (BGCAUTOGIRO / E-INVOICE or some others). |
| customer.eInvoiceBankCode | No | string or null Clearning bank code (einvoiceb2b or einvoiceb2c, depending on juridical type of customer). |
| customer.invoiceChannel | No | string or null Preferred channel of per invoice communication (Letter / Email / SMS / E-invoice). |
| customer.directDebitReferenceNo | No | string or null Ledger direct debit reference number. |
| customer.directDebitBankaccount | No | string or null Ledger direct debit bank account number. |
| customer.address | No | array of object or null List of customer's addresses. |
| customer.address[].addressType | No | string or null Address type (one of predefined codes LEGAL / AVI / INVOICE / SITE / DELIVERY / TRUSTACCNT). |
| customer.address[].addressNotValid | No | string <date-time> or null Date of address invalidation. |
| customer.address[].fullName | No | string or null Full name. |
| customer.address[].street | No | string or null Street. |
| customer.address[].houseNo | No | string or null House number. |
| customer.address[].houseNoExtension | No | string or null House number extension. |
| customer.address[].city | No | string or null City. |
| customer.address[].stateCode | No | string or null State code. |
| customer.address[].zipCode | No | string or null Zipcode. |
| customer.address[].fullAddress | No | string or null Full address. |
| customer.address[].addressNotValidOverride | No | boolean or null Should address be validated. |
| customer.address[].countryCode | No | string or null Country code. |
| customer.address[].country | No | string or null Country. |
| customer.address[].defaultAddress | No | boolean or null Is default address. |
| customer.extraFields | No | array of object or null List of customer's extra fields. |
| customer.extraFields[].name | No | string or null Name of Extra field data |
| customer.extraFields[].value | No | array of string or null The value of the extra field |
| customer.extraFields[].value[] | Yes | string — |
| customer.directDebitMandate | Yes | object Direct debit mandate information |
| customer.directDebitMandate.mandateGuid | No | string or null Direct debit mandate GUID. |
| customer.directDebitMandate.directDebitMandateType | Yes | integer <int32> Direct debit type. 1 = SwedishAutogiro, Autogiro (Sweden). 2 = DutchIncasso, Incasso (the Netherlands). 3 = SEPAConsumerRecurring, SEPA consumer recurring 4 = SEPAConsumerOneoOff, SEPA consumer one-off 5 = SEPABusinessRecurring, SEPA business recurring 7 = SEPABusinessOneOff, SEPA business one-off |
| customer.directDebitMandate.referenceNo | No | string or null Direct debit mandate reference number. |
| customer.directDebitMandate.bankAccountNo | No | string or null Direct debit bank account number. |
| customer.directDebitMandate.requestedAt | No | string <date-time> or null Direct debit date of request. |
| customer.directDebitMandate.approvedAt | No | string <date-time> or null Direct debit date of approval. |
| customer.directDebitMandate.signedDate | No | string <date-time> or null Direct debit date of signature. |
| customer.directDebitMandate.validfrom | No | string <date-time> or null Direct debit "valid from" date. |
| customer.directDebitMandate.validuntil | No | string <date-time> or null Direct debit "valid to" date. |
| customer.directDebitMandate.closedAt | No | string <date-time> or null Date when the direct debit has been terminated. |
| customer.directDebitMandate.links | No | array of object or null Links to events, invoice, case, etc. |
| customer.directDebitMandate.links[].type | No | string or null Type of object |
| customer.directDebitMandate.links[].name | No | string or null Type of relation |
| customer.directDebitMandate.links[].href | No | string or null URI to object |
| customer.directDebitMandate.links[].resource | No | string or null Resource type |
| customer.directDebitMandate.links[].guid | No | string or null Resource guid |
| customer.validFrom | No | string <date-time> or null Valid from. |
| customer.validTo | No | string <date-time> or null Valid to. |
| debts | No | array of object or null List of debts for the invoice. |
| debts[].debtPrincipalType | No | integer <int32> or null Debt principal type. 1 = Debet invoice (default) 2 = Credit invoice. 3 = Interest invoice |
| debts[].description | No | string or null Debt description. |
| debts[].invoiceNumber | No | string or null Debt reference (invoice number). |
| debts[].originalReferenceNumber | No | string or null Original reference number. |
| debts[].paymentReference | No | string or null Payment reference. |
| debts[].ledgerReference | No | string or null Debt ledger reference. |
| debts[].originalPrincipal | Yes | number <double> Original principal. |
| debts[].remainingPrincipal | Yes | number <double> Remaining principal. |
| debts[].originalInterest | No | number <double> or null Original interest. |
| debts[].remainingInterest | No | number <double> or null Remaining interest. |
| debts[].paidInterest | No | number <double> or null Paid interest. |
| debts[].originalVat | Yes | number <double> Original VAT. |
| debts[].remainingVat | Yes | number <double> Remaining VAT. |
| debts[].rounding | No | number <double> or null Rounding. |
| debts[].systemrounding | No | number <double> or null System rounding. |
| debts[].currencyCode | No | string or null Currency code, e.g. SEK, NOK, EUR etc. |
| debts[].exchangeRate | No | number <double> or null Exchange rate. |
| debts[].orderDate | No | string <date-time> or null Order date. |
| debts[].invoiceDate | Yes | string <date-time> Invoice date. |
| debts[].documentDate | No | string <date-time> or null Document creation date. |
| debts[].dueDate | No | string <date-time> or null Due date. |
| debts[].ourOrder | No | string or null Our order number. |
| debts[].yourOrder | No | string or null Your order number. |
| debts[].seller | No | string or null Seller identifier. |
| debts[].goodsMark | No | string or null Goods mark. |
| debts[].deliveryMethod | No | string or null Delivery method (probably free-form text). |
| debts[].deliveryCondition | No | string or null Delivery condition (probably free-form text). |
| debts[].deliveryDate | No | string <date-time> or null Delivery date. |
| debts[].deliveryNoteId | No | string or null Delivery note (probably short info text). |
| debts[].creditCardTransactionId | No | string or null Credit card transaction (probably short info text). |
| debts[].message | No | string or null Debt message (probably short info text). |
| debts[].paymentCondition | No | integer <int32> or null Debt payment period in days. |
| debts[].interestCondition | No | integer <int32> or null Debt interest period in days. |
| debts[].store | No | string or null Store reference code (probably, not confirmed). |
| debts[].receiptNumber | No | string or null Debt receipt number. |
| debts[].cashRegisterNumber | No | string or null Cash register number. |
| debts[].interestRate | No | number <double> or null Debt interest rate. |
| debts[].interestCode | No | string or null Debt interest code (one of predefined interest calculation types). |
| debts[].interestFrom | No | string <date-time> or null Debt interest calculation start date. |
| debts[].interestTo | No | string <date-time> or null Debt interest calculation end date. |
| debts[].ourReference | No | string or null Our reference. |
| debts[].yourReference | No | string or null Your reference. |
| debts[].periodoflimitation | No | integer <int32> or null Period of limitation. |
| debts[].limitationDate | No | string <date-time> or null Limitation date. |
| debts[].receiverFullName | No | string or null Receiver full name. |
| debts[].receiverStreet | No | string or null Receiver street. |
| debts[].receiverHouseNo | No | string or null Receiver house number. |
| debts[].receiverHouseNoExtension | No | string or null Receiver house number extension |
| debts[].receiverCity | No | string or null Receiver city. |
| debts[].receiverStateCode | No | string or null Receiver state code. |
| debts[].receiverZipCode | No | string or null Receiver zipcode. |
| debts[].receiverCountryCode | No | string or null Receiver country code. |
| debts[].receiverFullAddress | No | string or null Receiver full address. |
| debts[].deliveryFullName | No | string or null Delivery subject full name. |
| debts[].deliveryStreet | No | string or null Delivery subject street. |
| debts[].deliveryHouseNo | No | string or null Delivery subject house number. |
| debts[].deliveryHouseNoExtension | No | string or null Delivery subject house number extension. |
| debts[].deliveryCity | No | string or null Delivery subject city. |
| debts[].deliveryStateCode | No | string or null Delivery subject state code. |
| debts[].deliveryZipCode | No | string or null Delivery subject zipcode. |
| debts[].deliveryCountryCode | No | string or null Delivery subject country code. |
| debts[].deliveryFullAddress | No | string or null Delivery subject full address. |
| debts[].vendorReferenceCode | No | string or null Vendor reference code. |
| debts[].debtRows | No | array of object or null List of debt rows. |
| debts[].debtRows[].summaryOnly | No | boolean or null Is a summary information. |
| debts[].debtRows[].textOnly | No | boolean or null Is a textual information. |
| debts[].debtRows[].rowReference | No | string or null Debt row reference. |
| debts[].debtRows[].itemReference | No | string or null Debt row item reference. |
| debts[].debtRows[].debtFeeCode | No | string or null Type of debt fee (one of predefined values INVOICECHARGE / PACKANDSHIP / BRPF / ORDERDISCOUNT). |
| debts[].debtRows[].description | No | string or null Debt row description. |
| debts[].debtRows[].callNumber | No | string or null Phone call number dialed regarding current debt operation (probably, not confirmed). |
| debts[].debtRows[].callLength | No | integer <int32> or null Phone call length (probably, not confirmed). |
| debts[].debtRows[].eanCode | No | string or null EAN code. |
| debts[].debtRows[].orderCount | No | integer <int32> or null Order count. |
| debts[].debtRows[].itemCount | No | number <double> or null Order item(s) count. |
| debts[].debtRows[].remainingCount | No | integer <int32> or null Remaining item(s) count. |
| debts[].debtRows[].unitTypeId | No | integer <int32> or null Unit type id (corresponds to one of predefined types Pcs / Hours / VAT / Litres / etc.). |
| debts[].debtRows[].itemNetAmount | No | number <double> or null Item(s) principal amount. |
| debts[].debtRows[].itemSystemNetAmount | No | number <double> or null Item(s) system amount (probably, not confirmed). |
| debts[].debtRows[].discount | No | number <double> or null Item(s) discount. |
| debts[].debtRows[].rowPrincipalAmount | No | number <double> or null Row principal amount. |
| debts[].debtRows[].systemRowPrincipalAmount | No | number <double> or null Row system amount (probably, not confirmed). |
| debts[].debtRows[].includingVAT | Yes | boolean Is VAT included. |
| debts[].debtRows[].vatAmount | No | number <double> or null VAT amount. |
| debts[].debtRows[].systemVatAmount | No | number <double> or null System VAT amount. |
| debts[].debtRows[].vatCode | No | string or null VAT code (one of predefined values depending on country code SE25 / SE0 / NO0 / NO25 / DK0 / DK25 / SE12 / NL19 / NO8 / NO14 / SE21 / SE6 / NO15 / EU0 / EXP0 / SRV0 / FI0 / FI10 / FI14 / FI24). |
| debts[].debtRows[].accountChartCode | No | string or null Account chart code (one of predefined values). |
| debts[].debtRows[].vatAccountChartCode | No | string or null VAT account chart code (one of predefined values). |
| debts[].debtRows[].accountDim1 | No | string or null Account dimension 1. |
| debts[].debtRows[].accountDim2 | No | string or null Account dimension 2. |
| debts[].debtRows[].accountDim3 | No | string or null Account dimension 3. |
| debts[].debtRows[].accountDim4 | No | string or null Account dimension 4. |
| debts[].debtRows[].accountDim5 | No | string or null Account dimension 5. |
| debts[].debtRows[].accountDim6 | No | string or null Account dimension 6. |
| debts[].debtRows[].accountDim7 | No | string or null Account dimension 7. |
| debts[].debtRows[].accountDim8 | No | string or null Account dimension 8. |
| debts[].debtRows[].extraFields | No | array of object or null List of debt row extra fields. |
| debts[].debtRows[].extraFields[].name | No | string or null Name of Extra field data |
| debts[].debtRows[].extraFields[].value | No | array of string or null The value of the extra field |
| debts[].debtRows[].extraFields[].value[] | Yes | string — |
| debts[].extraFields | No | array of object or null List of debt extra fields. |
| debts[].extraFields[].name | No | string or null Name of Extra field data |
| debts[].extraFields[].value | No | array of string or null The value of the extra field |
| debts[].extraFields[].value[] | Yes | string — |
| debts[].debtGroup | No | string or null Debt group code (probably one of predefined values). |
| debts[].interestSpecificCalculationType | No | string or null Interest specific calculation type. |
| fees | No | array of object or null List of fees for the invoice. |
| fees[].name | No | string or null Ledger account fee code (probably one of predefined values). |
| fees[].description | No | string or null Ledger account fee description. |
| fees[].feeDate | Yes | string <date-time> Ledger account fee date. |
| fees[].principalAmount | Yes | number <double> Ledger account fee principal. |
| fees[].vatAmount | No | number <double> or null Ledger account fee VAT. |
| fees[].interestAmount | No | number <double> or null Ledger account fee interest. |
| fees[].paidInterest | No | number <double> or null Ledger account fee paid interest. |
| fees[].exchangeRate | No | number <double> or null Exchange rate. |
| fees[].currencyCode | No | string or null Currency code, e.g. SEK, NOK, EUR etc. |
| fees[].interestRate | No | number <double> or null Ledger account fee interest rate. |
| fees[].interestCode | No | string or null Ledger account fee interest code (one of predefined interest calculation types). |
| fees[].interestFrom | No | string <date-time> or null Fee interest calculation start date. |
| fees[].interestTo | No | string <date-time> or null Fee interest calculation end date. |
| fees[].importedFee | Yes | boolean Is imported fee. |
| registrationDate | Yes | string <date-time> Date when invoice was created. |
| links | No | array of object or null Links to adresses, extra fields, scoring, parameters, etc. |
| links[].type | No | string or null Type of object |
| links[].name | No | string or null Type of relation |
| links[].href | No | string or null URI to object |
| links[].resource | No | string or null Resource type |
| links[].guid | No | string or null Resource guid |
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 |
HTTP 409
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
