Connect
  1. Invoice
Connect
  • Connect/ConnectID API Reference
  • Overview
    • API lifecycle
    • OAuth 2.0
    • About the URLs
    • Google analytics
    • Unite payment SDK
    • Events
      • Authentication
      • Connect realtime events
      • ConnectID events
  • Customer Data
    • Address
      • Change addresses
      • List addresses
      • List addresses - client mode
      • List addresses for product - client mode
      • List addresses for product
    • Category
      • List category types
      • List category codes
      • List category codes for category type
    • Customer
      • List customer info
      • Change customer Info
      • Search customer - client mode
      • Check customer number - client mode
      • List customer info - client mode
    • External Reference
      • Remove external reference - client mode
      • Change external reference - client mode
      • List external references - client mode
      • Register external reference - client mode
  • Order Management
    • Article
      • Check article price
    • Coupon
      • Check coupon price - client mode
      • List coupon - client mode
      • List coupon for coupon number - client mode
    • Fulfillment
      • Complete order - client mode
    • Order
      • Order Guide
        • Introduction
        • How to register an order
        • Complete order by fulfillment URL
        • Complete order by fulfillment API
        • Q&A for order
      • List orders
      • Search order details
      • List order product history
      • List order status - client mode
      • Register customer - client mode
      • Register customer
      • Register order - client mode
      • Register order
    • Reward
      • Check reward - client mode
    • User
      • Assign user - client mode
    • Voucher Coupons
      • List voucher code coupons - client mode
  • Payment Services
    • Invoice
      • List invoice details
        GET
      • List invoices - client mode
        GET
      • List invoices for product - client mode
        GET
      • List invoices and reminders
        GET
      • List invoices and reminders for product
        GET
      • List basic invoice info
        GET
      • List basic invoice info for product
        GET
    • InvoiceAddress
      • List invoice address
    • Klarna
      • List klarna recurring tokens
      • Add Klarna token
      • Remove Klarna token
    • Nexi
      • List Nexi subscriptions
      • Add Nexi subscription
      • Remove Nexi subscription
    • PayEx
      • List PayEx tokens
      • Add PayEx token
      • Remove PayEx token
    • Payment
      • List payment methods
      • Pay invoice
      • Change payment method
    • Vipps
      • List vipps agreements
      • Add vipps agreement
      • Remove vipps agreement
  • Privacy
    • Consent
      • Access private data
      • Remove private data
      • List consent event history - client mode
      • List consent text - client mode
      • List consent text history - client mode
      • List consent groups - client mode
      • List consent given issuer - client mode
      • List consent event history
      • List consent given issuer
      • List consent groups
      • Register consent event - client mode
      • Register consent event
    • Permission/Shield
      • List global permissions
      • List enterprise permissions
      • Change enterprise permissions
      • List ordertype permissions
      • Change ordertype permissions
      • Check shield ordertype - client mode
      • Check shield enterprise - client mode
    • Privacy
      • List privacy enterprise
      • Change privacy enterprise
      • List privacy ordertype
      • Change privacy ordertype
  • Product & Services
    • Complaint
      • Register complaint
      • List complaints
    • Delivery
      • List next distributions
      • List next distributions - client mode
    • DeliveryStop
      • Remove delivery stops
      • Register delivery stops
      • List delivery stops
      • List delivery stop - client mode
    • Issue
      • List distributed issues
      • List product issues - client mode
    • Product
      • List products - client mode
      • Check product - client mode
      • List specific products - client mode
    • ProductDeliveryPlan
      • List productdeliveryplan - client mode
    • ProductDependency
      • Check product dependency discount - client mode
    • Sharing
      • Send subscription share invitation
      • Accept subscription share invitation
      • Decline share - client mode
      • List shareable subscription rules
      • List distribution levels
      • Change subscription share invitation details
      • List all shared subscribers
      • Cancel sharing
      • List shareable subscription nets
      • Change shareable subscription nets
      • Change distribution level
    • Subscription
      • List shared subscriptions
      • List subscriptions
      • Start subscription
      • List subscriptions - client mode
  • Recruitment
    • Recruitment
      • Register recruitment - client mode
      • List recruitments
      • List premium recruitments
      • Change premium recruitments
      • Register recruitments
    • RecruitmentCampaign
      • List recruitment campaign - client mode
  • User Data
    • Access
      • Check access
      • Check access - client mode
    • Credential
      • Check credential - client mode
    • Metadata
      • List metadata
      • Change metadata
      • Remove metadata
      • List metadata - client mode
      • Change metadata - client mode
      • Remove metadata - client mode
    • Profile
      • List user profile
      • List external user profiles
  • Diverse
    • External Identity
      • Register external Id - client mode
      • Register customer - client mode
    • Message
      • List messages
      • Send message
      • Send message - client mode
    • Status
      • List status messages
    • Stock
      • Change stocks - client mode
      • List stocks - client mode
      • List stocks for product - client mode
  1. Invoice

List invoice details

Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
GET
/v1/customer/invoice/details
Invoice
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.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediaconnect.no/capi/v1/customer/invoice/details?companyCode&invoiceNumber&reminderNumber'
Response Response Example
200 - Success
{
    "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"
                    }
                ]
            }
        ]
    }
}

Request

Authorization
OAuth 2.0
Authorization Code
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Authorize URL: https://connectid.no/user/oauth/authorize
Token URL: https://connectid.no/user/oauth/token
Refresh URL: https://connectid.no/user/oauth/token
Scopes:
read-For all access
or
Query Params
companyCode
string 
required
Company invoice belongs to
<= 12 characters
invoiceNumber
integer 
required
Invoice number
reminderNumber
integer 
required
Reminder number. 0 for invoice

Responses

🟢200OK
application/json
OK
Body
invoiceInfoWithDetail
object 
optional
invoiceNumber
integer 
optional
The unique number of the invoice for this company
>= 1
companyCode
string 
optional
The company that owns this invoice
<= 12 characters
invoiceOfferCount
integer 
optional
Invoice offer count. If this is more than 1, this invoice contains alternative offers.
invoiceDate
string <date>
optional
The date of creating the invoice. Format: YYYY-MM-DD
invoicePaymentStatus
enum<string> 
optional
The status of invoice payment:
paid: The invoice is paid
notPaid: The invoice is not paid
partiallyPaid: The invoice is partially paid
Allowed values:
paidnotPaidpartiallyPaid
invoiceAmount
number 
optional
The amount for the first (and possibly only) offer on this invoice
>= 0
Multiple of:
0.01
invoiceCurrency
string 
optional
Currency for the entire invoice has to follow the standard ISO4217 - alphabetic code.
<= 3 characters
invoiceHotelUrl
string 
optional
Url to the PDF invoice
invoiceDueDate
string <date>
optional
Invoice due date. Format: YYYY-MM-DD
invoiceType
enum<string> 
optional
The type of invoice:
invoice: Normal invoice (ex. first invoice)
reminderInvoice: A reminder on unpaid invoice
finalInvoice: It is the last and final invoice.
Allowed values:
invoicereminderInvoicefinalInvoice
paidAmount
number 
optional
The amount that was paid on this invoice.
>= 0
Multiple of:
0.01
description
string 
optional
The description of invoice ex. product name
<= 40 characters
fromTime
string 
optional
This invoice covers the period from this issue/date. Format: YYYY-MM-DD
<= 10 characters
includeTime
string 
optional
Including this issue/date. Format: YYYY-MM-DD
<= 10 characters
invoiceOfferInfo
array [object {5}] 
optional
🟠400Bad Request
🟠429429
🔴500Server Error
Previous
List voucher code coupons - client mode
Next
List invoices - client mode
Built with