The user needs to be logged in to use this endpoint, click here to read more.
Retrieves information regarding one invoice based on company code, invoice number and reminder number. Information about offers and details in the offer and lines are presented.
OK
object |
Bad Request
Too Many Requests
Internal Server Error
{- "invoiceInfoWithDetail": {
- "invoiceNumber": 7,
- "companyCode": "FTOTT",
- "invoiceOfferCount": 1,
- "invoiceDate": "2018-01-17",
- "invoicePaymentStatus": "partiallyPaid",
- "invoiceAmount": 110,
- "invoiceCurrency": "NOK",
- "invoiceHotelUrl": "www.invoicehotel.no",
- "invoiceDueDate": "2018-01-17",
- "invoiceType": "invoice",
- "paidAmount": 0,
- "description": "Toten testprodukt",
- "fromTime": "2020-01-01",
- "includeTime": "2021-01-01",
- "invoiceOfferInfo": [
- {
- "offerNumber": 1,
- "invoiceAmount": 100,
- "invoiceVatAmount": 10,
- "customerIdentification": "1234567",
- "invoiceLineInfoList": [
- {
- "productCode": "TOTT",
- "invoiceAmount": 50,
- "invoiceVatAmount": 5,
- "invoiceVatPercent": 10,
- "description": "TOTEN TEST",
- "fromTime": "2018-01-01",
- "includeTime": "2018-06-01"
}, - {
- "productCode": "PORTO",
- "invoiceAmount": 50,
- "invoiceVatAmount": 5,
- "invoiceVatPercent": 10,
- "description": "Porto til utland"
}
]
}
]
}
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
The API for extracting information about payment history and paymentMethod
for a customer based on customerNumber
.
OK
Array of objects |
Bad Request
Not Found
Too Many Requests
Internal Server Error
{- "clientInvoiceInfoList": [
- {
- "invoiceId": "1",
- "invoiceDate": 1701903600000,
- "invoiceOfferCount": "1",
- "customerNumber": 563457,
- "product": "CO27409",
- "productName": "Weekly Magazine",
- "amount": 2,
- "companyCode": "5646903690",
- "paymentStatus": "0",
- "invoiceAmount": 295,
- "paidAmount": 0,
- "paymentMethod": "A",
- "paymentDate": 1701903600000,
- "dueDate": 1701903600000,
- "desc": [
- "Weekly Magazine"
], - "period": 1,
- "periodUnit": "E",
- "fromTime": "2023-12-08",
- "incltime": "2024-02-15",
- "invoiceLineInfo": [
- {
- "productCode": "CO27409",
- "invoiceAmount": 84.54,
- "invoiceVatAmount": 13.47,
- "invoiceVatPercent": 36.73
}
]
}
]
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
The API for extracting information about payment history and paymentMethod
for a customer based on customerNumber
.
OK
Array of objects |
Bad Request
Not Found
Too Many Requests
Internal Server Error
{- "clientInvoiceInfoList": [
- {
- "invoiceId": "1",
- "invoiceDate": 1560333600000,
- "invoiceOfferCount": "1",
- "customerNumber": 563457,
- "product": "CO27409",
- "productName": "Weekly Magazine",
- "amount": 2,
- "companyCode": "5646903690",
- "paymentStatus": "0",
- "invoiceAmount": 295,
- "paidAmount": 0,
- "paymentMethod": "A",
- "paymentDate": 1561716000000,
- "dueDate": 1561716000000,
- "desc": [
- "Weekly Magazine"
], - "period": 1,
- "periodUnit": "E",
- "fromTime": "2019-06-12",
- "incltime": "2020-06-12",
- "invoiceLineInfo": [
- {
- "productCode": "CO27409",
- "invoiceAmount": 84.54,
- "invoiceVatAmount": 13.47,
- "invoiceVatPercent": 36.73
}
]
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
Invoice, invoice payments API for customer.
In response is returned list of invoiced products for customer. This is also payments info if paid amount is specified.
OK
Array of objects | |
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "invoices": [
- {
- "customerNumber": 563457,
- "product": "CO27409",
- "invoiceOfferCount": "1",
- "productName": "Weekly Magazine",
- "amount": 49,
- "invoiceDate": "2022-01-07",
- "invoiceNumber": "7435367",
- "companyCode": "5646903690",
- "paymentDate": "2022-01-17",
- "dueDate": "2022-01-21",
- "paymentStatus": "0",
- "invoiceAmount": "295.00",
- "paidAmount": 0,
- "paymentMethod": "A",
- "invoiceStatus": "Invoiced"
}
], - "reminders": [
- {
- "invoiceNumber": 7435367,
- "product": "CO27409",
- "fromTime": "2023-01-01",
- "includeTime": "2024-01-01",
- "reminderDate": 1560333600000,
- "amount": 49,
- "dueDate": 1561716000000,
- "reminderNumber": 1,
- "reminderType": "reminder",
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
Invoice, invoice payments API for customer.
In response is returned list of invoiced products for customer. This is also payments info if paid amount is specified.
OK
Array of objects | |
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "invoices": [
- {
- "customerNumber": 563457,
- "product": "CO27409",
- "invoiceOfferCount": "1",
- "productName": "Weekly Magazine",
- "amount": 49,
- "invoiceDate": "2022-01-07",
- "invoiceNumber": "7435367",
- "companyCode": "5646903690",
- "paymentDate": "2022-01-17",
- "dueDate": "2022-01-21",
- "paymentStatus": "0",
- "invoiceAmount": "295.00",
- "paidAmount": 0,
- "paymentMethod": "A",
- "invoiceStatus": "Invoiced"
}
], - "reminders": [
- {
- "invoiceNumber": 7435367,
- "product": "CO27409",
- "fromTime": "2023-01-01",
- "includeTime": "2024-01-01",
- "reminderDate": 1560333600000,
- "amount": 49,
- "dueDate": 1561716000000,
- "reminderNumber": 1,
- "reminderType": "reminder",
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
This API returns a list of basic invoice info ordered by decending invoice date.
OK
Array of objects |
Bad Request
Not Found
Too Many Requests
Internal Server Error
{- "invoices": [
- {
- "invoiceNumber": 1234,
- "companyCode": "COMP",
- "invoiceOfferCount": 1,
- "invoiceDate": "2019-06-12",
- "invoicePaymentStatus": "paid",
- "invoiceAmount": 295,
- "invoiceCurrency": "NOK",
- "invoiceDueDate": "2019-07-17",
- "invoiceType": "invoice",
- "paidAmount": 295,
- "description": "Weekly Magazine",
- "fromTime": "2019-06-12",
- "includeTime": "2019-06-12"
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
This API returns a list of basic invoice info ordered by decending invoice date.
OK
Array of objects |
Bad Request
Not Found
Too Many Requests
Internal Server Error
{- "invoices": [
- {
- "invoiceNumber": 1234,
- "companyCode": "COMP",
- "invoiceOfferCount": 1,
- "invoiceDate": "2019-06-12",
- "invoicePaymentStatus": "paid",
- "invoiceAmount": 295,
- "invoiceCurrency": "NOK",
- "invoiceDueDate": "2019-07-17",
- "invoiceType": "invoice",
- "paidAmount": 295,
- "description": "Weekly Magazine",
- "fromTime": "2019-06-12",
- "includeTime": "2019-06-12"
}
]
}