Skip to main content

Check Invoice Fee

The Check Invoice Fee endpoint lets you query the invoice-fee settings for a specific company. By supplying the company’s ID, you can retrieve details such as:

  • Company name, UUID, and legal identifier
  • B2B invoice fee and its associated VAT rate
  • B2C invoice fee and its associated VAT rate

This information is useful when calculating invoice fees for orders associated with that company or when applying different billing rules depending on whether the client is a business (B2B) or a consumer (B2C).

You will find the endpoint URL, authentication requirements, a sample response, and definitions of each field below.

Endpoint

GET https://stg-api.frontpayment.no/api/v1/connect/company/invoice-fee/{company_id}

Description

Use this endpoint to retrieve detailed information about a company. Replace {company_id} with the numeric identifier of the company.


Authentication

Include a Bearer Token in the Authorization header. You can obtain this token from Front Payment.

Example:

Authorization: Bearer YOUR_FRONTPAYMENT_BEARER_TOKEN

Response

A successful response returns 200 OK with the company’s verification history.

Example Response

{
  "status_code": 200,
  "status_message": "OK",
  "message": "companyInvoiceFeeRetriveSuccessfully",
  "is_data": true,
  "data": [
      "companyUuid": "ORG1754819969",
      "companyId": "920058272",
      "companyType": "BRL",
      "companyName": "FLØTNINGEN PARK II BORETTSLAG",
      "B2BInvoiceFee": 5,
      "B2BVatRate": "2",
      "B2CInvoiceFee": 3,
      "B2CVatRate": "2"
  ]
}

Field Descriptions

Parameter Type Description
companyUuid string Our Database unique UUID.
companyId string The verified company’s ID.
companyType string The type/category of the company.
companyName string The legal name of the company.
B2BInvoiceFee number The company’s B2B invoice fee.
B2BVatRate string The company's B2B vat rate.
B2CInvoiceFee number The company’s B2C invoice fee.
B2CVatRate string The company's B2C vat rate.