List invoices for product - client mode
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
GET
/v1/client/customer/invoice/payment/{customerNumber}/{productCode}
Invoice
paymentMethod
for a customer based on customerNumber
.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediaconnect.no/capi/v1/client/customer/invoice/payment//?from&to'
Response Response Example
200 - Success
{
"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",
"invoiceHotelUrl": "http://mediaconnect.no/invoice/view/gkcb93qgt94ca6943bloitxgq4de",
"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
}
]
}
]
}
Request
Path Params
customerNumber
integerÂ
required
productCode
stringÂ
required
<= 12 characters
Query Params
from
stringÂ
optional
<= 10 characters
to
stringÂ
optional
<= 10 characters