Biziq API (2.1.7)

Download OpenAPI specification:

Biziq Documentation: [email protected]

Overview

The Biziq API is a collection of web services that allow you to receive payments from customers, be notified of those payments, refund them if necessary, among others.

URLs

The API endpoints are available through the following domains:

  • For sandbox environment:
      https://sandboxapi.biziq.app/
    
  • For production environment:
      https://api.biziq.app/
    

Authentication

The Biziq API uses OAuth2 Client Credentials. Create an OAuth Client in the API → Data tab of the Biziq dashboard to get a client_id and client_secret (the secret is only shown once; you can regenerate it at any time).

  1. Request an access token for the company you want to use (see Request access token):
curl -X POST https://api.biziq.app/oauth/token \
  -H "Content-Type: application/json" \
  -d '{"grant_type": "client_credentials", "client_id": "<CLIENT_ID>", "client_secret": "<CLIENT_SECRET>", "company_vat": "<YOUR_COMPANY_VAT>"}'
  1. Send the access token in the Authorization header of every request:
Authorization: Bearer <ACCESS_TOKEN>

Each access token is issued for one company: company_vat is required when requesting the token if your account is associated to more than one company (with a single company it is selected automatically). Requests made with that token use that company, so company_vat does not need to be sent again; if a different company_vat is sent, a 403 is returned. To work with another company, request another token.

Access tokens are valid for expires_in seconds (1 hour). When a token expires the API returns 401; request a new token and retry. The OAuth Client has the same permissions as your Biziq account. Revoking an OAuth Client or regenerating its secret immediately invalidates its access tokens.

Repeated failed authentication attempts temporarily block the requesting IP address (403 with "response": "blocked").

Errors

Biziq uses HTTP response status codes to indicate the success or failure of your API requests. If your request fails, Biziq returns an error using the appropriate status code.

In general, there are three status code ranges you can expect:

  • 2xx success status codes confirm that your request worked as expected
  • 4xx error status codes indicate an error because of the information provided (for example, a required parameter was omitted).
  • 5xx error status codes are rare and indicate an error with Biziq’s servers.

Some 4xx errors that could be handled programmatically include an error code (a short string with a brief explanation) as a value for code.

Below is a list of possible error codes that can be returned, along with additional information about how to resolve them.

Authentication Error

This error can have multiple potential causes. Here are some examples:

  • Missing, invalid or expired access token
  • Your account has been blocked
  • You don't enough permissions to the action requested

Invalid Content Type Error

This error can only have one cause, you provided an invalid/unsupported content type header.

Invalid JSON Error

This error happens when you provide a bad formated JSON payload.

Invalid Params Error

This error indicates the information provided was incorrect of insufficient (for example, a required parameter was omitted).

Internal Error

This error indicates that an unexpected error ocurred on our servers.

Authentication

Obtain OAuth2 access tokens using the Client Credentials grant. This is the recommended way to authenticate with the Biziq API.

Request access token (OAuth2)

Issues an OAuth2 access token using the Client Credentials grant.

The client credentials can be sent in the request body (as below) or with HTTP Basic authentication (Authorization: Basic base64(client_id:client_secret)).

The token is issued for one company (company_vat): it is required when the account is associated to more than one company and, with a single company, that company is selected automatically. The token's company is used on every request, so company_vat does not need to be sent again.

Use the returned access_token in the Authorization: Bearer <access_token> header of every API request. Tokens expire after expires_in seconds; request a new token when that happens.

Request Body schema:
required
grant_type
required
string
Value: "client_credentials"

Must be client_credentials.

client_id
required
string <uuid>

OAuth Client ID (API → Data in the Biziq dashboard).

client_secret
required
string

OAuth Client secret.

company_vat
string

VAT of the company the token is issued for. Required when the account is associated to more than one company. Can also be sent in the company_vat header.

Responses

Request samples

Content type
Example
{
  • "grant_type": "client_credentials",
  • "client_id": "9d2f6c1e-4b7a-4a51-8f0e-2d6b3c9a1f10",
  • "client_secret": "<CLIENT_SECRET>",
  • "company_vat": "xxxxxxxxx"
}

Response samples

Content type
application/json
{
  • "token_type": "Bearer",
  • "expires_in": 3600,
  • "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...",
  • "company_vat": "xxxxxxxxx"
}

Validate credentials / User details

Returns the details of the authenticated user. Use it to validate your access token (Authorization: Bearer <access_token>).

Authorizations:
oauth2

Responses

Request samples

curl https://api.biziq.app/userSettings/details \
  -H "Authorization: Bearer <ACCESS_TOKEN>"

Response samples

Content type
application/json
{
  • "response": "success",
  • "user": {
    }
}

User

This segment outlines various requests that users can execute to effectively manage their personal information within the Biziq platform.

Validate credentials / User details

Returns the details of the authenticated user. Use it to validate your access token (Authorization: Bearer <access_token>).

Authorizations:
oauth2

Responses

Request samples

curl https://api.biziq.app/userSettings/details \
  -H "Authorization: Bearer <ACCESS_TOKEN>"

Response samples

Content type
application/json
{
  • "response": "success",
  • "user": {
    }
}

Company

This segment provides comprehensive insights and guidelines on leveraging the company settings capabilities of the Biziq API.

Get Company

To successfully get company's data, users are only required to furnish the AUTHORIZATIONS parameters.

Authorizations:
oauth2

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Crate Company

To successfully create a Company, users are required to furnish the relevant data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
ask_access
boolean

If the Company already exists, this parameter will help create a request to access the company

address
required
string

Company's address

city
required
string

Company's city

conservatory
string

Company's conservatory

company_type
string

Company's type

country
required
string

Company's country

name
required
string

Company's name

new_services
required
boolean

If you want to receive updates on the services available for your Company

services
required
Array of strings

The Biziq services you want to use in your Company

share_capital
required
number

The Company's share capital

postal_code
required
string

Company's address postal code

vat_number
required
string

Company's VAT Number

Responses

Request samples

Content type
application/json
Example
{
  • "ask_access": true,
  • "address": "Rua Exemplo, 123",
  • "city": "Porto",
  • "conservatory": "Conservatória do Registo Comercial",
  • "company_type": "SA",
  • "country": "Portugal",
  • "name": "Empresa Exemplo",
  • "new_services": true,
  • "services": [
    ],
  • "share_capital": 1000,
  • "postal_code": "xxxx-xxx",
  • "vat_number": "xxxxxxxxx"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Update Company

To successfully update a Company, users are required to furnish the relevant data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
address
required
string

Company's address

city
required
string

Company's address city

business_email
required
string

Company's email

postal_code
required
string

Company's address postal code

Responses

Request samples

Content type
application/json
{
  • "address": "Rua das Flores, 123",
  • "city": "Lisboa",
  • "business_email": "[email protected]",
  • "postal_code": "xxxx-xxx"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Tax Authority

Endpoints for managing Tax Authority communication settings.

Create Tax Authority Communication

Creates the Tax Authority communication credentials. An existing configuration is kept and returns success. Requires an active invoicing service.

Authorizations:
oauth2
Request Body schema: application/json
required
username
required
string^[0-9]+/[0-9]+$

Must begin with the selected company's VAT, followed by / and a numeric sub-user identifier.

password
required
string <byte>

Encrypt using AES-256-CBC with the base64-decoded account encryption_key. Send base64(16-byte IV + raw ciphertext).

Responses

Request samples

Content type
application/json
{
  • "username": "xxxxxxxxx/1",
  • "password": "string"
}

Response samples

Content type
application/json
Example
{
  • "response": "success",
  • "message": "Tax Authority Communication successfully created"
}

Get Tax Authority Communication

Returns the communication preferences and username. Requires an active invoicing service.

Authorizations:
oauth2

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Activate Tax Authority Communication

Activates the existing communication configuration. Requires an active invoicing service.

Authorizations:
oauth2

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Deactivate Tax Authority Communication

Deactivates the existing communication configuration. Requires an active invoicing service.

Authorizations:
oauth2

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Update Tax Authority Communication

Updates all three communication preferences of the existing configuration. Requires an active invoicing service.

Authorizations:
oauth2
Request Body schema: application/json
required
communicate_documents
required
boolean

Whether to communicate documents to the Tax Authority.

communicate_series
required
boolean

Whether to communicate series to the Tax Authority.

communicate_transport_guides
required
boolean

Whether to communicate transport guides to the Tax Authority.

Responses

Request samples

Content type
application/json
{
  • "communicate_documents": true,
  • "communicate_series": true,
  • "communicate_transport_guides": true
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

API Service

Endpoints for managing API invoicing services.

Get API Invoicing Services

Returns the configured services with their channels, templates and series. Requires an active invoicing service.

Authorizations:
oauth2

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": [
    ]
}

Create API Invoicing Service

Creates a service for the selected document type. A service for that type must not already exist. Uses the active template of the selected channel. Requires an active invoicing service.

Authorizations:
oauth2
Request Body schema: application/json
required
required
Array of objects [ 1 .. 10 ] items

Responses

Request samples

Content type
application/json
{
  • "services": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "API Invoicing Services successfully created!",
  • "created": [
    ]
}

Update API Invoicing Service

Updates the channel, active channel template and series for the service identified by document. The service must exist. Other document configurations are retained, and all configured API invoicing services are activated by this operation. Requires an active invoicing service.

Authorizations:
oauth2
Request Body schema: application/json
required
document
required
string
Enum: "invoice" "invoice_receipt" "invoice_simplified" "proforma" "quotation" "transport_guide" "debit_note" "receipt" "receipt_bill" "credit_note"

Document type identifying the API invoicing service.

channel_id
required
integer

Public channel identifier returned by the channels endpoint.

serie_id
required
integer

Public series identifier. The series must be active and belong to the selected document type.

Responses

Request samples

Content type
application/json
{
  • "document": "invoice",
  • "channel_id": 1,
  • "serie_id": 1
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "API Invoicing Service successfully updated!"
}

Activate API Invoicing Services

Activates all configured API invoicing services for the selected company. No request body is required. Requires an active invoicing service.

Authorizations:
oauth2

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "API Invoicing Service successfully ativated!"
}

Deactivate API Invoicing Services

Deactivates all configured API invoicing services for the selected company. No request body is required. Requires an active invoicing service.

Authorizations:
oauth2

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "API Invoicing Service successfully deativated!"
}

Payment Methods

Manage company payment methods for invoicing.

List Payment Methods

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": [
    ]
}

Get Payment Method

Requires an active invoicing service. Uses the company associated with the OAuth access token. Returns data as an array, even for a single payment method.

Authorizations:
oauth2
query Parameters
method_id
required
number
Example: method_id=1

Public payment method identifier.

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": [
    ]
}

Activate Payment Method

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
Request Body schema: application/json
required
method_id
required
number

Public payment method identifier.

Responses

Request samples

Content type
application/json
{
  • "method_id": 1
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": "Payment Method activated successfully!"
}

Deactivate Payment Method

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
Request Body schema: application/json
required
method_id
required
number

Public payment method identifier.

Responses

Request samples

Content type
application/json
{
  • "method_id": 1
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": "Payment Method deactivated successfully!"
}

Delete Payment Method

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
query Parameters
method_id
required
number
Example: method_id=1

Public payment method identifier.

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": "Payment Method deleted successfully!"
}

Create Payment Method

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
Request Body schema: application/json
required
name
required
string <= 50 characters

Custom payment method name

mechanism
required
string

Must match a currently active payment mechanism code. Available codes are determined by the service.

Responses

Request samples

Content type
application/json
{
  • "name": "Bank transfer",
  • "mechanism": "TB"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": [
    ]
}

Update Payment Method

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
Request Body schema: application/json
required
method_id
required
number

Public payment method identifier.

name
required
string <= 50 characters

Custom payment method name

Responses

Request samples

Content type
application/json
{
  • "method_id": 1,
  • "name": "Bank transfer"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": "Payment Method updated successfully!"
}

IBANs

Manage company bank accounts for invoicing.

Create IBAN

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
Request Body schema: application/json
required
bank_name
required
string >= 3 characters

Bank name

holder_name
string or null [ 3 .. 55 ] characters

Account holder name

iban
required
string[A-Z]{2}[0-9]{2}[0-9]{18,20}

IBAN matching the format accepted by the endpoint

swift_code
required
string[A-Z]{4}[A-Z]{2}[0-9,A-Z]{2}(?:[0-9,A-Z]{1,3}...

SWIFT/BIC code

Responses

Request samples

Content type
application/json
{
  • "bank_name": "Banco Exemplo",
  • "holder_name": "Empresa Exemplo",
  • "iban": "PT50000201231234567890154",
  • "swift_code": "BPAIPTPL"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": {
    }
}

Update IBAN

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
Request Body schema: application/json
required
iban_id
required
number

Public IBAN identifier.

bank_name
required
string >= 3 characters

Bank name

holder_name
string or null [ 3 .. 55 ] characters

Account holder name

iban
required
string[A-Z]{2}[0-9]{2}[0-9]{18,20}

IBAN matching the format accepted by the endpoint

swift_code
required
string[A-Z]{4}[A-Z]{2}[0-9,A-Z]{2}(?:[0-9,A-Z]{1,3}...

SWIFT/BIC code

Responses

Request samples

Content type
application/json
{
  • "iban_id": 1,
  • "bank_name": "Banco Exemplo",
  • "holder_name": "Empresa Exemplo",
  • "iban": "PT50000201231234567890154",
  • "swift_code": "BPAIPTPL"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": {
    }
}

List IBANs

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
query Parameters
status
string or null
Enum: "active" " inactive"
Example: status=active

Optional status filter. The current validator includes a leading space in the inactive value.

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": [
    ]
}

Get IBAN

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
query Parameters
iban_id
required
number
Example: iban_id=1

Public IBAN identifier.

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": {
    }
}

Activate IBAN

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
Request Body schema: application/json
required
iban_id
required
number

Public IBAN identifier.

Responses

Request samples

Content type
application/json
{
  • "iban_id": 1
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": {
    }
}

Deactivate IBAN

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
Request Body schema: application/json
required
iban_id
required
number

Public IBAN identifier.

Responses

Request samples

Content type
application/json
{
  • "iban_id": 1
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": {
    }
}

Delete IBAN

Requires an active invoicing service. Uses the company associated with the OAuth access token.

Authorizations:
oauth2
query Parameters
iban_id
required
number
Example: iban_id=1

Public IBAN identifier.

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "data": "IBAN successfully deleted!"
}

Clients

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing Clients under the Invoicing section.

Get Clients

To successfully get company's clients, users are required to furnish the relevant data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
optional
name
string

To search for clients with that name

code
string

To search for clients with that code

updated_since
string <date-time>

Only returns records created, updated or deleted since this date (delta sync). Deleted records are returned with deleted = true.

page
integer >= 1
Default: 1

Page to return (requires per_page)

per_page
integer [ 1 .. 500 ]

Records per page. When sent, the response includes a pagination object.

Responses

Request samples

Content type
application/json
Example
{
  • "name": "Client Name"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Channels

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing Channels under the Invoicing section.

Create Channel

To successfully add a new channel, users are required to furnish the relevant channel data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
address
required
string

Channel's address

city
required
string

Channel's city

country
required
string <ISO 3166-1>

Channel's country

logo
required
string

Base64 logo of the channel

name
required
string

Channel's name

postal_code
required
string

Channel's postal code

Responses

Request samples

Content type
application/json
{
  • "address": "Rua das Flores, 123",
  • "city": "Lisboa",
  • "country": "PT",
  • "name": "Canal Exemplo",
  • "postal_code": "xxxx-xxx"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Update Channel

To successfully update a channel, users are required to furnish the relevant channel data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
address
required
string

Channel's address

channel_id
required
string

Channel's identification

city
required
string

Channel's city

country
required
string <ISO 3166-1>

Channel's country

logo
required
string

Base64 logo of the channel

name
required
string

Channel's name

postal_code
required
string

Channel's postal code

Responses

Request samples

Content type
application/json
{
  • "address": "Rua das Flores, 123",
  • "channel_id": "123",
  • "city": "Lisboa",
  • "country": "PT",
  • "name": "Canal Exemplo",
  • "postal_code": "xxxx-xxx"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Get Channel

To successfully get a channel, users are required to furnish the relevant channel data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
channel_id
required
string

Channel's identification

Responses

Request samples

Content type
application/json
{
  • "channel_id": "123"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Activate Channel

To successfully activate a channel, users are required to furnish the relevant channel data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
channel_id
required
string

Channel's identification

Responses

Request samples

Content type
application/json
{
  • "channel_id": "123"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "success"
}

Deactivate Channel

To successfully deactivate a channel, users are required to furnish the relevant channel data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
channel_id
required
string

Channel's identification

Responses

Request samples

Content type
application/json
{
  • "channel_id": "123"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "success"
}

List Channels

To successfully get a list of channels, users are not required to furnish any data.

Authorizations:
oauth2

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": [
    ]
}

Credit Notes

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing credit notes under the Invoicing section.

Create Credit Note

Authorizations:
oauth2
header Parameters
Idempotency-Key
string <= 100 characters
Example: 6f1c2a8e-3b7d-4c55-9f0e-1d2c3b4a5e6f

Unique key (max 100 chars, letters, numbers, '-' and '_') generated by the client for each document. Retrying a request with the same key returns the document already created instead of creating a new one (idempotent_replay = true). Recommended for POS integrations, where a timeout must never produce a duplicated sale.

Request Body schema: application/json
required
Any of
date
string <date>

Date of the Credit Note

name
string

Name of the Original Document

document_id
required
number

Document ID of the Original Document

serie
required
string

Name of the Series, belonging to the same Company as the Original Document, of the Credit Note type

send_to_client
boolean

Whether the credit note is to be sent to the client

reason
required
string

Reason why the Credit Note is being created

object

Items present in the Original Document (optional; if not provided, all items available in the Original Document will be used)

defer_at_communication
boolean
Default: false

When true, a failure communicating the document to the Tax Authority does not keep it as draft: the document is finalized (with number, ATCUD and hash) and the communication is retried automatically in background (communicated_to_at = false until then). Recommended for POS integrations.

Responses

Request samples

Content type
application/json
Example
{
  • "date": "2025-06-25",
  • "name": "FT BETA/000001",
  • "serie": "Serie A",
  • "reason": "Refund",
  • "line_items": {
    }
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Get Credit Note

Authorizations:
oauth2
query Parameters
name
string

Invoice Identification

document_id
string

Document Identification

Request Body schema: application/json
Any of
name
required
string
document_id
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "NC BETA/000001"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Change Credit Note Status

Authorizations:
oauth2
Request Body schema: application/json
Any of
name
required
string
document_id
string
status
required
string
cancelation_reason
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "NC BETA/000001",
  • "status": "canceled",
  • "cancelation_reason": "Client requested cancellation"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Your document was successfully finalized"
}

Create VAT-only Credit Note

Issues a credit note that only adjusts the VAT of an invoice, without changing its taxable amount (Ofício-Circulado n.º 25120/2026). In SAF-T (PT) each line is exported with UnitPrice and DebitAmount = 0.00 and TaxBase (AT FAQ 2958); in the e-Fatura webservice with TotalTaxBase instead of Amount.

Authorizations:
oauth2
Request Body schema: application/json
required
document_id
integer

Document ID of the invoice to adjust (required without name).

name
string

Name of the invoice to adjust, e.g. 'FT 2026/12' (required without document_id).

serie
required
string

Name of an active credit note series of the invoice channel.

date
string <date>

Document date (Y-m-d). Defaults to today.

reason
required
string [ 5 .. 50 ] characters

Reason of the adjustment (exported in SAF-T References/Reason).

company_vat
string

Company VAT number (required when the account has more than one company).

required
Array of objects
verba_242
boolean

Item 2.42 of List I (Ofício-Circulado 25120/2026, point 57): returns all the VAT and prints the mention 'IVA-Autoliquidação – Verba 2.42'. Only allowed with corrected_vat = 0.

Responses

Request samples

Content type
application/json
{
  • "document_id": 123,
  • "name": "FT 2026/12",
  • "serie": "2026",
  • "date": "2026-11-10",
  • "reason": "Regularização de IVA liquidado indevidamente",
  • "company_vat": "123456789",
  • "line_items": [
    ],
  • "verba_242": false
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "kept_draft": false,
  • "kept_draft_reason": null,
  • "document": {
    }
}

Debit Notes

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing debit notes under the Invoicing section.

Create Debit Note

Authorizations:
oauth2
Request Body schema: application/json
required
Any of
date
string <date>

Date of the Debit Note

status
string
Default: "final"

Debit Note status (final or draft)

name
string

Name of the Original Document

document_id
required
number

Document ID of the Original Document

serie
required
string

Name of the Series, belonging to the same Company as the Original Document, of the Debit Note type

send_to_client
boolean

Whether the debit note is to be sent to the client

reason
required
string

Reason why the Debit Note is being created

required
Array of objects

List of invoice line items

Responses

Request samples

Content type
application/json
Example
{
  • "date": "2025-06-25",
  • "name": "FT BETA/000001",
  • "serie": "Serie A",
  • "reason": "Add Item",
  • "status": "draft",
  • "line_items": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Get Debit Note

Authorizations:
oauth2
query Parameters
name
string

Document Identification

document_id
string

Document Identification

Request Body schema: application/json
Any of
name
required
string
document_id
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "ND BETA/000001"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Change Debit Note Status

Authorizations:
oauth2
Request Body schema: application/json
Any of
name
required
string
document_id
string
status
required
string
cancelation_reason
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "ND BETA/000001",
  • "status": "canceled",
  • "cancelation_reason": "Client requested cancellation"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Your document was successfully finalized"
}

Create VAT-only Debit Note

Issues a debit note that only adjusts the VAT of an invoice, without changing its taxable amount (Ofício-Circulado n.º 25120/2026). In SAF-T (PT) each line is exported with UnitPrice and CreditAmount = 0.00 and TaxBase (AT FAQ 2958); in the e-Fatura webservice with TotalTaxBase instead of Amount.

Authorizations:
oauth2
Request Body schema: application/json
required
document_id
integer

Document ID of the invoice to adjust (required without name).

name
string

Name of the invoice to adjust, e.g. 'FT 2026/12' (required without document_id).

serie
required
string

Name of an active debit note series of the invoice channel.

date
string <date>

Document date (Y-m-d). Defaults to today.

reason
required
string [ 5 .. 50 ] characters

Reason of the adjustment (exported in SAF-T References/Reason).

company_vat
string

Company VAT number (required when the account has more than one company).

required
Array of objects

Responses

Request samples

Content type
application/json
{
  • "document_id": 123,
  • "name": "FT 2026/12",
  • "serie": "2026",
  • "date": "2026-11-10",
  • "reason": "Regularização de IVA não liquidado",
  • "company_vat": "123456789",
  • "line_items": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "kept_draft": false,
  • "kept_draft_reason": null,
  • "document": {
    }
}

Documents

Endpoints for listing invoicing documents across all supported document types.

List Documents

Returns a paginated list of invoicing documents. Results can be filtered by period or date range, status, document type and a search term, and sorted by date, number or total.

Authorizations:
None
query Parameters
period
string
Default: "today"
Enum: "today" "yesterday" "this_week" "last_week" "this_month" "last_month" "before_last_month" "last_quarter" "last_half" "this_year" "last_year" "two_years_ago" "all"

Time period used to filter documents. Ignored when start_date and end_date are sent.

status
Array of strings [ 1 .. 6 ] items unique
Items Enum: "paid" "canceled" "draft" "final" "accepted" "declined"

One or more document statuses. When omitted, all statuses are returned.

document_type
Array of strings [ 1 .. 9 ] items unique
Items Enum: "invoice" "receipt" "simplified" "credit_note" "debit_note" "transport_guide" "proforma" "receipts" "quotation"

One or more document types. When omitted, all document types are returned.

page
integer >= 1
Default: 1

Page number.

length
integer [ 1 .. 100 ]
Default: 10

Number of documents returned per page (max. 100).

start_date
string <date>
Example: start_date=2026-10-01

Start of a custom date range (inclusive). Requires end_date and takes precedence over period.

end_date
string <date>
Example: end_date=2026-10-31

End of a custom date range (inclusive). Requires start_date.

search
string <= 100 characters
Example: search=FS A/000001

Searches the document number, client name and client VAT number. Letters, numbers, spaces and . , / - _ @ only.

order_by
string
Default: "date"
Enum: "date" "name" "total"

Column used to sort the documents.

order_dir
string
Default: "desc"
Enum: "asc" "desc"

Sort direction.

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "recordsTotal": 1,
  • "page": 1,
  • "totalPages": 1,
  • "records": [
    ]
}

Items

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing items under the Invoicing section.

Get Items

To successfully get company's items, users are required to furnish the relevant data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
optional
code
string

To search for items with that code

type
string
Enum: "Product" "Service" "Other" "ST" "TPC"

To search for item of that type

updated_since
string <date-time>

Only returns records created, updated or deleted since this date (delta sync). Deleted records are returned with deleted = true.

page
integer >= 1
Default: 1

Page to return (requires per_page)

per_page
integer [ 1 .. 500 ]

Records per page. When sent, the response includes a pagination object.

Responses

Request samples

Content type
application/json
Example
{
  • "code": "ITEM123"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    },
  • "pagination": {
    }
}

Invoices

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing invoices under the Invoicing section.

Get Summary

To successfully get the invoicing summary, users are required to furnish the relevant data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
optional
period
string
Enum: "today" "week" "month" "between_dates"

Period where the Summary takes place

start_date
string <Y-m-d>

Required if 'period' is 'between_dates'

end_date
string <Y-m-d>

Required if 'period' is 'between_dates'

Responses

Request samples

Content type
application/json
Example
{
  • "period": "month"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Create Invoice

To successfully add a new invoice, users are required to furnish the relevant invoice data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
header Parameters
Idempotency-Key
string <= 100 characters
Example: 6f1c2a8e-3b7d-4c55-9f0e-1d2c3b4a5e6f

Unique key (max 100 chars, letters, numbers, '-' and '_') generated by the client for each document. Retrying a request with the same key returns the document already created instead of creating a new one (idempotent_replay = true). Recommended for POS integrations, where a timeout must never produce a duplicated sale.

Request Body schema: application/json
required
corrected_invoice
string

Name of the invoice this invoice corrects (e.g. an invoice canceled due to a formal error, such as a wrong NIF or address). Must belong to your account and cannot be a draft. Ofício-Circulado n.º 25120/2026, points 6 and 68.

operation_date
string <date>

Date the goods were made available to the customer or the services were completed. Exported as TaxPointDate. It does not change the invoice date and cannot be after inv_date. When corrected_invoice is sent without it, the corrected invoice date is used.

inv_date
required
string <Y-m-d>
Default: "Today's date"

Invoice Date

currency
string
Default: "EUR_€"
Enum: "EUR_€" "USD_$" "GBP_£" "AFN_؋" "ALL_L" "DZD_دج" "ARS_$" "AMD_֏" "AUD_A$" "AZN_₼" "BHD_BD" "BDT_৳" "BAM_KM" "BWP_P" "BRL_R$" "BGN_лв" "XOF_CFA" "CLP_$" "CNY_¥" "COP_$" "CZK_Kč" "DKK_kr" "ETB_Br" "GEL_₾" "GHS_₵" "HKD_HK$" "HUF_Ft" "INR_₹" "IDR_Rp" "ILS_₪" "JOD_JD" "KES_KSh" "KZT_₸" "KRW_₩" "KWD_KD" "KGS_лв" "LBP_ل.ل" "MYR_RM" "MUR_₨" "MXN_$" "MDL_L" "MAD_MAD" "MMK_K" "NAD_$" "NPR_Rs" "NZD_NZ$" "NGN_₦" "NOK_kr" "OMR_ر.ع." "PKR_₨" "PEN_S/." "PHP_₱" "PLN_zł" "QAR_ر.ق" "RON_lei" "RUB_₽" "SAR_ر.س" "RSD_дин." "SGD_S$" "ZAR_R" "LKR_Rs" "SEK_kr" "CHF_CHF" "TZS_TSh" "THB_฿" "TRY_₺" "UGX_USh" "UAH_₴" "AED_د.إ" "UZS_лв" "VND_₫" "ZMW_ZK" "ZWL_Z$"

Invoice currency

due
string <Y-m-d>

Invoice due date

company_vat
string

Company's VAT Number. Optional: the company of the access token is used; if sent, it must match it.

generateRefMB
boolean

If you want to generate a MB Reference to the document (only available to invoices)

is_receipt
string
Default: "invoice"

Type of document (invoice, receipt, simplified)

paybylink
boolean

If you want to generate a PayByLink link!

payment_method
string

The invoice payment method

Array of objects

List of payment methods and values, optional for Invoice Receipts only

tax_exemption
string

Reason for exemption from fees

recurrence
string

Invoice recurrence

remarks
string

User notes

retention
number

Invoice retention

send_to_client
boolean

Whether the invoice was sent to the client

showIban
boolean

If you want to show Company's IBAN in the document

status
string
Default: "final"

Invoice status (final or draft)

required
object

Client identification number group

required
Array of objects

List of invoice line items

defer_at_communication
boolean
Default: false

When true, a failure communicating the document to the Tax Authority does not keep it as draft: the document is finalized (with number, ATCUD and hash) and the communication is retried automatically in background (communicated_to_at = false until then). Recommended for POS integrations.

generateStub
boolean

If you want to receive the printable stub (HTML, original and duplicate) of the document in the response

Responses

Request samples

Content type
application/json
Example
{
  • "inv_date": "2025-06-25",
  • "currency": "EUR_€",
  • "due": "2025-07-25",
  • "company_vat": "xxxxxxxxx",
  • "generateRefMB": true,
  • "is_receipt": "invoice",
  • "paybylink": false,
  • "payment_method": "credit_card",
  • "payments": [
    ],
  • "tax_exemption": null,
  • "recurrence": "monthly",
  • "remarks": "Cliente VIP, pagamento antecipado.",
  • "retention": 3,
  • "send_to_client": true,
  • "showIban": true,
  • "status": "final",
  • "client": {
    },
  • "line_items": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Update Invoice

To successfully update a invoice, users are required to furnish the relevant invoice data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
corrected_invoice
string

Name of the invoice this invoice corrects (e.g. an invoice canceled due to a formal error, such as a wrong NIF or address). Must belong to your account and cannot be a draft. Ofício-Circulado n.º 25120/2026, points 6 and 68.

operation_date
string <date>

Date the goods were made available to the customer or the services were completed. Exported as TaxPointDate. It does not change the invoice date and cannot be after inv_date. When corrected_invoice is sent without it, the corrected invoice date is used.

inv_date
required
string <date>

Invoice Date

currency
string
Default: "EUR_€"
Enum: "EUR_€" "USD_$" "GBP_£" "AFN_؋" "ALL_L" "DZD_دج" "ARS_$" "AMD_֏" "AUD_A$" "AZN_₼" "BHD_BD" "BDT_৳" "BAM_KM" "BWP_P" "BRL_R$" "BGN_лв" "XOF_CFA" "CLP_$" "CNY_¥" "COP_$" "CZK_Kč" "DKK_kr" "ETB_Br" "GEL_₾" "GHS_₵" "HKD_HK$" "HUF_Ft" "INR_₹" "IDR_Rp" "ILS_₪" "JOD_JD" "KES_KSh" "KZT_₸" "KRW_₩" "KWD_KD" "KGS_лв" "LBP_ل.ل" "MYR_RM" "MUR_₨" "MXN_$" "MDL_L" "MAD_MAD" "MMK_K" "NAD_$" "NPR_Rs" "NZD_NZ$" "NGN_₦" "NOK_kr" "OMR_ر.ع." "PKR_₨" "PEN_S/." "PHP_₱" "PLN_zł" "QAR_ر.ق" "RON_lei" "RUB_₽" "SAR_ر.س" "RSD_дин." "SGD_S$" "ZAR_R" "LKR_Rs" "SEK_kr" "CHF_CHF" "TZS_TSh" "THB_฿" "TRY_₺" "UGX_USh" "UAH_₴" "AED_د.إ" "UZS_лв" "VND_₫" "ZMW_ZK" "ZWL_Z$"

Invoice currency

due
string <date>

Invoice due date

company_vat
string

Company's VAT Number. Optional: the company of the access token is used; if sent, it must match it.

generateRefMB
boolean

Generate MB reference

is_receipt
string
Enum: "invoice" "receipt" "simplified"

Document type

paybylink
boolean

Generate PayByLink

payment_method
string

Invoice payment method

Array of objects

List of payment methods and values, optional for Invoice Receipts only

tax_exemption
string

Reason for tax exemption

recurrence
string

Invoice recurrence

remarks
string

Notes

retention
number

Invoice retention

send_to_client
boolean

Send to client

showIban
boolean

Show IBAN on document

status
string
Enum: "final" "draft"

Document status

required
Array of objects

List of invoice line items

Responses

Request samples

Content type
application/json
Example
{
  • "document_id": 1,
  • "inv_date": "2025-06-25",
  • "currency": "EUR_€",
  • "due": "2025-07-25",
  • "company_vat": "xxxxxxxxx",
  • "generateRefMB": true,
  • "is_receipt": "invoice",
  • "paybylink": true,
  • "payment_method": "transfer",
  • "payments": [
    ],
  • "tax_exemption": "M01",
  • "recurrence": "monthly",
  • "remarks": "Atualização do documento conforme pedido do cliente.",
  • "retention": 4.5,
  • "send_to_client": true,
  • "showIban": true,
  • "status": "final",
  • "line_items": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Get Invoice

Authorizations:
oauth2
query Parameters
name
string

Invoice Identification

document_id
string

Document Identification

Request Body schema: application/json
Any of
name
required
string
document_id
string
generateStub
boolean

Returns the printable receipt (HTML, 5.5 cm wide for thermal printers) in message.stub.reprint, marked as "2.ª via" (second copy). Not available for drafts.

Responses

Request samples

Content type
application/json
Example
{
  • "name": "FT BETA/000001"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Change Invoice Status

Authorizations:
oauth2
Request Body schema: application/json
Any of
name
required
string
document_id
string
status
required
string
cancelation_reason
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "FT BETA/000001",
  • "status": "canceled",
  • "cancelation_reason": "Client requested cancellation"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Your document was successfully finalized"
}

Send Invoices

Authorizations:
oauth2
Request Body schema: application/json
required
names
required
Array of strings

List of invoice names to send

mail
string <email>

Email to send the Invoice. If not set, it will be sent to the client’s email

Responses

Request samples

Content type
application/json
Example
{}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Mass Import

To successfully import data to mass create invoices, users are required to furnish the relevant invoice data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
query Parameters
company_vat
integer

Company's VAT Number. Optional: the company of the access token is used; if sent, it must match it.

required
Array of objects

This array can have multiple invoices to be created

Responses

Response samples

Content type
application/json
{
  • "response": "success",
  • "bash_id": "8a005421-77ee-44d3-a84c-cceef66c11a3",
  • "invalid": {
    }
}

Mass Import Status

Returns the status of a mass import operation, including pagination and processing results.

Authorizations:
oauth2
Request Body schema: application/json
required
hash
required
string

Mass import hash

page
integer >= 1
Default: 1

Page number for pagination

Responses

Request samples

Content type
application/json
{
  • "hash": "abc123xyz",
  • "page": 1
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "queued_count": 0,
  • "done_count": 191,
  • "data": {}
}

Proformas

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing proformas under the Invoicing section.

Create Proforma

To successfully add a new proforma, users are required to furnish the relevant invoice data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
date
string <Y-m-d>
Default: "Today's date"

Proforma Date

currency
string
Default: "EUR_€"
Enum: "EUR_€" "USD_$" "GBP_£" "AFN_؋" "ALL_L" "DZD_دج" "ARS_$" "AMD_֏" "AUD_A$" "AZN_₼" "BHD_BD" "BDT_৳" "BAM_KM" "BWP_P" "BRL_R$" "BGN_лв" "XOF_CFA" "CLP_$" "CNY_¥" "COP_$" "CZK_Kč" "DKK_kr" "ETB_Br" "GEL_₾" "GHS_₵" "HKD_HK$" "HUF_Ft" "INR_₹" "IDR_Rp" "ILS_₪" "JOD_JD" "KES_KSh" "KZT_₸" "KRW_₩" "KWD_KD" "KGS_лв" "LBP_ل.ل" "MYR_RM" "MUR_₨" "MXN_$" "MDL_L" "MAD_MAD" "MMK_K" "NAD_$" "NPR_Rs" "NZD_NZ$" "NGN_₦" "NOK_kr" "OMR_ر.ع." "PKR_₨" "PEN_S/." "PHP_₱" "PLN_zł" "QAR_ر.ق" "RON_lei" "RUB_₽" "SAR_ر.س" "RSD_дин." "SGD_S$" "ZAR_R" "LKR_Rs" "SEK_kr" "CHF_CHF" "TZS_TSh" "THB_฿" "TRY_₺" "UGX_USh" "UAH_₴" "AED_د.إ" "UZS_лв" "VND_₫" "ZMW_ZK" "ZWL_Z$"

Proforma currency

due
string <Y-m-d>

Proforma due date

payment_method
string

The proforma payment method. If it exists it will use the existing one, if it is deactivated it will be activated and if it does not exist it will be created.

tax_exemption
string

Reason for exemption from fees

remarks
string

User notes

retention
number

Proforma retention

send_to_client
boolean

Whether the proforma was sent to the client

status
string
Default: "final"

Proforma status (final or draft)

required
object

Client identification number group

required
Array of objects

List of proforma line items

Responses

Request samples

Content type
application/json
Example
{
  • "date": "2025-06-25",
  • "currency": "EUR_€",
  • "due": "2025-07-25",
  • "payment_method": "credit_card",
  • "tax_exemption": null,
  • "remarks": "Cliente VIP, pagamento antecipado.",
  • "retention": 3,
  • "status": "final",
  • "client": {
    },
  • "line_items": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Update Proforma

To successfully update a Proforma, users are required to furnish the relevant invoice data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
document_id
required
number

Proforma Identification

date
string <Y-m-d>
Default: "Today's date"

Proforma Date

currency
string
Default: "EUR_€"
Enum: "EUR_€" "USD_$" "GBP_£" "AFN_؋" "ALL_L" "DZD_دج" "ARS_$" "AMD_֏" "AUD_A$" "AZN_₼" "BHD_BD" "BDT_৳" "BAM_KM" "BWP_P" "BRL_R$" "BGN_лв" "XOF_CFA" "CLP_$" "CNY_¥" "COP_$" "CZK_Kč" "DKK_kr" "ETB_Br" "GEL_₾" "GHS_₵" "HKD_HK$" "HUF_Ft" "INR_₹" "IDR_Rp" "ILS_₪" "JOD_JD" "KES_KSh" "KZT_₸" "KRW_₩" "KWD_KD" "KGS_лв" "LBP_ل.ل" "MYR_RM" "MUR_₨" "MXN_$" "MDL_L" "MAD_MAD" "MMK_K" "NAD_$" "NPR_Rs" "NZD_NZ$" "NGN_₦" "NOK_kr" "OMR_ر.ع." "PKR_₨" "PEN_S/." "PHP_₱" "PLN_zł" "QAR_ر.ق" "RON_lei" "RUB_₽" "SAR_ر.س" "RSD_дин." "SGD_S$" "ZAR_R" "LKR_Rs" "SEK_kr" "CHF_CHF" "TZS_TSh" "THB_฿" "TRY_₺" "UGX_USh" "UAH_₴" "AED_د.إ" "UZS_лв" "VND_₫" "ZMW_ZK" "ZWL_Z$"

Proforma currency

due
string <Y-m-d>

Proforma due date

payment_method
string

The proforma payment method. If it exists it will use the existing one, if it is deactivated it will be activated and if it does not exist it will be created.

tax_exemption
string

Reason for exemption from fees

remarks
string

User notes

retention
number

Proforma retention

send_to_client
boolean

Whether the proforma was sent to the client

status
string
Default: "final"

Proforma status (final or draft)

required
Array of objects

List of proforma line items

Responses

Request samples

Content type
application/json
Example
{
  • "document_id": 1,
  • "date": "2025-06-25",
  • "currency": "EUR_€",
  • "due": "2025-07-25",
  • "payment_method": "credit_card",
  • "tax_exemption": null,
  • "remarks": "Cliente VIP, pagamento antecipado.",
  • "retention": 3,
  • "status": "final",
  • "client": {
    },
  • "line_items": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Get Proforma

Authorizations:
oauth2
query Parameters
name
string

Invoice Identification

document_id
string

Document Identification

Request Body schema: application/json
Any of
name
required
string
document_id
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "PF BETA/000001"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Change Proforma Status

Authorizations:
oauth2
Request Body schema: application/json
Any of
name
required
string
document_id
string
status
required
string
cancelation_reason
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "PF BETA/000001",
  • "status": "canceled",
  • "cancelation_reason": "Client requested cancellation"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Your document was successfully finalized"
}

Quotations

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing quotations under the Invoicing section.

Create Quotation

To successfully add a new quotations, users are required to furnish the relevant invoice data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
date
string <Y-m-d>
Default: "Today's date"

Quotation Date

currency
string
Default: "EUR_€"
Enum: "EUR_€" "USD_$" "GBP_£" "AFN_؋" "ALL_L" "DZD_دج" "ARS_$" "AMD_֏" "AUD_A$" "AZN_₼" "BHD_BD" "BDT_৳" "BAM_KM" "BWP_P" "BRL_R$" "BGN_лв" "XOF_CFA" "CLP_$" "CNY_¥" "COP_$" "CZK_Kč" "DKK_kr" "ETB_Br" "GEL_₾" "GHS_₵" "HKD_HK$" "HUF_Ft" "INR_₹" "IDR_Rp" "ILS_₪" "JOD_JD" "KES_KSh" "KZT_₸" "KRW_₩" "KWD_KD" "KGS_лв" "LBP_ل.ل" "MYR_RM" "MUR_₨" "MXN_$" "MDL_L" "MAD_MAD" "MMK_K" "NAD_$" "NPR_Rs" "NZD_NZ$" "NGN_₦" "NOK_kr" "OMR_ر.ع." "PKR_₨" "PEN_S/." "PHP_₱" "PLN_zł" "QAR_ر.ق" "RON_lei" "RUB_₽" "SAR_ر.س" "RSD_дин." "SGD_S$" "ZAR_R" "LKR_Rs" "SEK_kr" "CHF_CHF" "TZS_TSh" "THB_฿" "TRY_₺" "UGX_USh" "UAH_₴" "AED_د.إ" "UZS_лв" "VND_₫" "ZMW_ZK" "ZWL_Z$"

Quotation currency

due
string <Y-m-d>

Quotation due date

payment_method
string

The Quotation payment method. If it exists it will use the existing one, if it is deactivated it will be activated and if it does not exist it will be created.

tax_exemption
string

Reason for exemption from fees

remarks
string

User notes

retention
number

Quotation retention

send_to_client
boolean

Whether the Quotation was sent to the client

status
string
Default: "final"

Quotation status (final or draft)

required
object

Client identification number group

required
Array of objects

List of proforma line items

Responses

Request samples

Content type
application/json
Example
{
  • "date": "2025-06-25",
  • "currency": "EUR_€",
  • "due": "2025-07-25",
  • "payment_method": "credit_card",
  • "tax_exemption": null,
  • "remarks": "Cliente VIP, pagamento antecipado.",
  • "retention": 3,
  • "status": "final",
  • "client": {
    },
  • "line_items": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Update Quotation

To successfully update a Quotation, users are required to furnish the relevant invoice data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
query Parameters
document_id
required
number

Invoice identification

date
string <Y-m-d>
Default: "Today's date"

Quotation Date

currency
string (InvoicingCurrency)
Default: "EUR_€"
Enum: "EUR_€" "USD_$" "GBP_£" "AFN_؋" "ALL_L" "DZD_دج" "ARS_$" "AMD_֏" "AUD_A$" "AZN_₼" "BHD_BD" "BDT_৳" "BAM_KM" "BWP_P" "BRL_R$" "BGN_лв" "XOF_CFA" "CLP_$" "CNY_¥" "COP_$" "CZK_Kč" "DKK_kr" "ETB_Br" "GEL_₾" "GHS_₵" "HKD_HK$" "HUF_Ft" "INR_₹" "IDR_Rp" "ILS_₪" "JOD_JD" "KES_KSh" "KZT_₸" "KRW_₩" "KWD_KD" "KGS_лв" "LBP_ل.ل" "MYR_RM" "MUR_₨" "MXN_$" "MDL_L" "MAD_MAD" "MMK_K" "NAD_$" "NPR_Rs" "NZD_NZ$" "NGN_₦" "NOK_kr" "OMR_ر.ع." "PKR_₨" "PEN_S/." "PHP_₱" "PLN_zł" "QAR_ر.ق" "RON_lei" "RUB_₽" "SAR_ر.س" "RSD_дин." "SGD_S$" "ZAR_R" "LKR_Rs" "SEK_kr" "CHF_CHF" "TZS_TSh" "THB_฿" "TRY_₺" "UGX_USh" "UAH_₴" "AED_د.إ" "UZS_лв" "VND_₫" "ZMW_ZK" "ZWL_Z$"

Quotation currency

due
string <Y-m-d>

Quotation due date

payment_method
string

The quotation payment method. If it exists it will use the existing one, if it is deactivated it will be activated and if it does not exist it will be created.

tax_exemption
string

Reason for exemption from fees

remarks
string

User notes

retention
number

Quotation retention

send_to_client
boolean

Whether the quotation was sent to the client

status
string
Default: "final"

Quotation status (final or draft)

required
object

List of invoice line items

Request Body schema: application/json
required
document_id
required
number

Quotation Identification

date
string <Y-m-d>
Default: "Today's date"

Quotation Date

currency
string
Default: "EUR_€"
Enum: "EUR_€" "USD_$" "GBP_£" "AFN_؋" "ALL_L" "DZD_دج" "ARS_$" "AMD_֏" "AUD_A$" "AZN_₼" "BHD_BD" "BDT_৳" "BAM_KM" "BWP_P" "BRL_R$" "BGN_лв" "XOF_CFA" "CLP_$" "CNY_¥" "COP_$" "CZK_Kč" "DKK_kr" "ETB_Br" "GEL_₾" "GHS_₵" "HKD_HK$" "HUF_Ft" "INR_₹" "IDR_Rp" "ILS_₪" "JOD_JD" "KES_KSh" "KZT_₸" "KRW_₩" "KWD_KD" "KGS_лв" "LBP_ل.ل" "MYR_RM" "MUR_₨" "MXN_$" "MDL_L" "MAD_MAD" "MMK_K" "NAD_$" "NPR_Rs" "NZD_NZ$" "NGN_₦" "NOK_kr" "OMR_ر.ع." "PKR_₨" "PEN_S/." "PHP_₱" "PLN_zł" "QAR_ر.ق" "RON_lei" "RUB_₽" "SAR_ر.س" "RSD_дин." "SGD_S$" "ZAR_R" "LKR_Rs" "SEK_kr" "CHF_CHF" "TZS_TSh" "THB_฿" "TRY_₺" "UGX_USh" "UAH_₴" "AED_د.إ" "UZS_лв" "VND_₫" "ZMW_ZK" "ZWL_Z$"

Quotation currency

due
string <Y-m-d>

Quotation due date

payment_method
string

The Quotation payment method. If it exists it will use the existing one, if it is deactivated it will be activated and if it does not exist it will be created.

tax_exemption
string

Reason for exemption from fees

remarks
string

User notes

retention
number

Quotation retention

send_to_client
boolean

Whether the Quotation was sent to the client

status
string
Default: "final"

Quotation status (final or draft)

required
Array of objects

List of Quotation line items

Responses

Request samples

Content type
application/json
Example
{
  • "document_id": 1,
  • "date": "2025-06-25",
  • "currency": "EUR_€",
  • "due": "2025-07-25",
  • "payment_method": "credit_card",
  • "tax_exemption": null,
  • "remarks": "Cliente VIP, pagamento antecipado.",
  • "retention": 3,
  • "status": "final",
  • "client": {
    },
  • "line_items": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Get Quotation

Authorizations:
oauth2
query Parameters
name
string

Invoice Identification

document_id
string

Document Identification

Request Body schema: application/json
Any of
name
required
string
document_id
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "OR BETA/000001"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Change Quotation Status

Authorizations:
oauth2
Request Body schema: application/json
Any of
name
required
string
document_id
string
status
required
string
cancelation_reason
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "OR BETA/000001",
  • "status": "canceled",
  • "cancelation_reason": "Client requested cancellation"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Your document was successfully finalized"
}

Receipts

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing receipts under the Invoicing section.

Create Receipt

To successfully add a new Receipt, users are required to furnish the relevant invoice data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
Any of
date
string <Y-m-d>
Default: "Today's date"

Receipt Date

document_id
number

Identifier of the invoice that is going to generate a Receipt

name
required
string

Identifier of the invoice that is going to generate a Receipt

payment_date
string <Y-m-d>
Default: "Today's date"

The date when the payment occurred

payment_method
required
string

Method used in the payment

remarks
string

User notes

send_to_client
boolean

Whether the receipt was sent to the client

status
string
Default: "final"

Receipt status (final or draft)

Responses

Request samples

Content type
application/json
Example
{
  • "date": "2025-06-25",
  • "document_id": 12345,
  • "name": "FT BETA/000001",
  • "payment_date": "2025-06-25",
  • "payment_method": "Credit Card",
  • "remarks": "Pagamento parcial da fatura",
  • "send_to_client": true,
  • "status": "final"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Get Receipt

Authorizations:
oauth2
query Parameters
name
string

Invoice Identification

document_id
string

Document Identification

Request Body schema: application/json
Any of
name
required
string
document_id
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "RG BETA/000001"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Change Receipt Status

Authorizations:
oauth2
Request Body schema: application/json
Any of
name
required
string
document_id
string
status
required
string
cancelation_reason
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "RG BETA/000001",
  • "status": "canceled",
  • "cancelation_reason": "Client requested cancellation"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Your document was successfully finalized"
}

Transport Guides

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing transport guides under the Invoicing section.

Create Transport Guide

To successfully add a new Transport Guide, users are required to furnish the relevant invoice data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
charge_date
required
string <Y-m-d>

Charge Date, also know as the date of the beggining of transport, must be equal or after today

charge_hours
required
number

Charge Hours, also know as the hour of the beggining of transport

charge_minutes
required
number

Charge Minutes, also know as the minute of the beggining of transport

charge_address
required
string

Address of where the transport begins

charge_country
required
string

Country of where the transport begins

charge_city
required
string

City of where the transport begins

charge_postal_code
required
string

Postal Code of where the transport begins

date
string <Y-m-d>
Default: "Today's date"

Transport Guide Date

currency
string
Default: "EUR_€"
Enum: "EUR_€" "USD_$" "GBP_£" "AFN_؋" "ALL_L" "DZD_دج" "ARS_$" "AMD_֏" "AUD_A$" "AZN_₼" "BHD_BD" "BDT_৳" "BAM_KM" "BWP_P" "BRL_R$" "BGN_лв" "XOF_CFA" "CLP_$" "CNY_¥" "COP_$" "CZK_Kč" "DKK_kr" "ETB_Br" "GEL_₾" "GHS_₵" "HKD_HK$" "HUF_Ft" "INR_₹" "IDR_Rp" "ILS_₪" "JOD_JD" "KES_KSh" "KZT_₸" "KRW_₩" "KWD_KD" "KGS_лв" "LBP_ل.ل" "MYR_RM" "MUR_₨" "MXN_$" "MDL_L" "MAD_MAD" "MMK_K" "NAD_$" "NPR_Rs" "NZD_NZ$" "NGN_₦" "NOK_kr" "OMR_ر.ع." "PKR_₨" "PEN_S/." "PHP_₱" "PLN_zł" "QAR_ر.ق" "RON_lei" "RUB_₽" "SAR_ر.س" "RSD_дин." "SGD_S$" "ZAR_R" "LKR_Rs" "SEK_kr" "CHF_CHF" "TZS_TSh" "THB_฿" "TRY_₺" "UGX_USh" "UAH_₴" "AED_د.إ" "UZS_лв" "VND_₫" "ZMW_ZK" "ZWL_Z$"

Transport Guide currency

delivery_address
required
string

Address of where the transport ends

delivery_country
required
string

Country of where the transport ends

delivery_city
required
string

City of where the transport ends

delivery_postal_code
required
string

Postal Code of where the transport ends

tax_exemption
string

Reason for exemption from fees

remarks
string

User notes

registration
string

Transport Vehicle licence plates

send_to_client
boolean

Whether the Transport Guide was sent to the client

status
string
Default: "final"

Transport Guide status (final or draft)

required
object

Client identification number group

required
Array of objects

List of proforma line items

Responses

Request samples

Content type
application/json
Example
{
  • "charge_date": "2025-06-25",
  • "charge_hours": 10,
  • "charge_minutes": 10,
  • "charge_address": "Street 101",
  • "charge_country": "PT",
  • "charge_city": "Lisbon",
  • "charge_postal_code": "xxxx-xxx",
  • "delivery_address": "Street 202",
  • "delivery_country": "PT",
  • "delivery_city": "Lisbon",
  • "delivery_postal_code": "xxxx-xxx",
  • "date": "2025-06-25",
  • "currency": "EUR_€",
  • "due": "2025-07-25",
  • "payment_method": "credit_card",
  • "tax_exemption": null,
  • "remarks": "Cliente VIP, pagamento antecipado.",
  • "retention": 3,
  • "status": "final",
  • "client": {
    },
  • "line_items": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Update Transport Guide

To successfully update a Transport Guide, users are required to furnish the relevant invoice data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
document_id
required
string

Quotation Identification

charge_date
required
string <Y-m-d>

Charge Date, also know as the date of the beggining of transport, must be equal or after today

charge_hours
required
number

Charge Hours, also know as the hour of the beggining of transport

charge_minutes
required
number

Charge Minutes, also know as the minute of the beggining of transport

charge_address
required
string

Address of where the transport begins

charge_country
required
string

Country of where the transport begins

charge_city
required
string

City of where the transport begins

charge_postal_code
required
string

Postal Code of where the transport begins

date
string <Y-m-d>
Default: "Today's date"

Transport Guide Date

currency
string
Default: "EUR_€"
Enum: "EUR_€" "USD_$" "GBP_£" "AFN_؋" "ALL_L" "DZD_دج" "ARS_$" "AMD_֏" "AUD_A$" "AZN_₼" "BHD_BD" "BDT_৳" "BAM_KM" "BWP_P" "BRL_R$" "BGN_лв" "XOF_CFA" "CLP_$" "CNY_¥" "COP_$" "CZK_Kč" "DKK_kr" "ETB_Br" "GEL_₾" "GHS_₵" "HKD_HK$" "HUF_Ft" "INR_₹" "IDR_Rp" "ILS_₪" "JOD_JD" "KES_KSh" "KZT_₸" "KRW_₩" "KWD_KD" "KGS_лв" "LBP_ل.ل" "MYR_RM" "MUR_₨" "MXN_$" "MDL_L" "MAD_MAD" "MMK_K" "NAD_$" "NPR_Rs" "NZD_NZ$" "NGN_₦" "NOK_kr" "OMR_ر.ع." "PKR_₨" "PEN_S/." "PHP_₱" "PLN_zł" "QAR_ر.ق" "RON_lei" "RUB_₽" "SAR_ر.س" "RSD_дин." "SGD_S$" "ZAR_R" "LKR_Rs" "SEK_kr" "CHF_CHF" "TZS_TSh" "THB_฿" "TRY_₺" "UGX_USh" "UAH_₴" "AED_د.إ" "UZS_лв" "VND_₫" "ZMW_ZK" "ZWL_Z$"

Transport Guide currency

delivery_address
required
string

Address of where the transport ends

delivery_country
required
string

Country of where the transport ends

delivery_city
required
string

City of where the transport ends

delivery_postal_code
required
string

Postal Code of where the transport ends

tax_exemption
string

Reason for exemption from fees

remarks
string

User notes

registration
string

Transport Vehicle licence plates

send_to_client
boolean

Whether the Transport Guide was sent to the client

status
string
Default: "final"

Transport Guide status (final or draft)

required
Array of objects

List of proforma line items

Responses

Request samples

Content type
application/json
Example
{
  • "document_id": 1,
  • "charge_date": "2025-06-25",
  • "charge_hours": 10,
  • "charge_minutes": 10,
  • "charge_address": "Street 101",
  • "charge_country": "PT",
  • "charge_city": "Lisbon",
  • "charge_postal_code": "xxxx-xxx",
  • "delivery_address": "Street 202",
  • "delivery_country": "PT",
  • "delivery_city": "Lisbon",
  • "delivery_postal_code": "xxxx-xxx",
  • "date": "2025-06-25",
  • "currency": "EUR_€",
  • "due": "2025-07-25",
  • "payment_method": "credit_card",
  • "tax_exemption": null,
  • "remarks": "Cliente VIP, pagamento antecipado.",
  • "retention": 3,
  • "status": "final",
  • "line_items": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Get Transport Guide

Authorizations:
oauth2
query Parameters
name
string

Invoice Identification

document_id
string

Document Identification

Request Body schema: application/json
Any of
name
required
string
document_id
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "GT BETA/000001"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Change Transport Guide Status

Authorizations:
oauth2
Request Body schema: application/json
Any of
name
required
string
document_id
string
status
required
string
cancelation_reason
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "GT BETA/000001",
  • "status": "canceled",
  • "cancelation_reason": "Client requested cancellation"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Your document was successfully finalized"
}

SAFT

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing SAFT under the Invoicing section.

Get SAFT

Authorizations:
oauth2
Request Body schema: application/json
start_date
required
string <Y-m-d>

Start Date, also know as the date of the beggining of the Billing Period, must be before End Date

end_date
required
string <Y-m-d>

End Date, also know as the date of the conclusion of the Billing Period, must be after Start Date

rebuild
boolean

If you want to build a new XML file.

Responses

Request samples

Content type
application/json
Example
{
  • "start_date": "2025-01-01",
  • "end_date": "2025-01-31",
  • "rebuild": true
}

Response samples

Content type
application/json
{}

Series

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing series under the Invoicing section.

Create Serie

To successfully create a new Serie, users are required to furnish the relevant invoice data within the request body, formatted in JSON. The body parameters integral to this request include:

Authorizations:
oauth2
Request Body schema: application/json
required
name
required
string

Series Name

type
string
Default: "invoice"
Enum: "invoice" "invoice_simplified" "invoice_receipt" "transport_guide" "credit_note" "proforma" "quotation" "receipt" "debit_note"

Type of document the series belongs to

validation_code
string

Only necessary if we don't have communication with Tax Authority

Responses

Request samples

Content type
application/json
{
  • "name": "A001",
  • "type": "invoice",
  • "validation_code": "F23FM4GGBD"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Get Series

Authorizations:
oauth2
Request Body schema: application/json
optional

Type of document the series belongs to

type
string
Default: "invoice"
Enum: "invoice" "invoice_simplified" "invoice_receipt" "transport_guide" "credit_note" "proforma" "quotation" "receipt" "debit_note"

Type of document the series belongs to

status
string
Enum: "active" "inactive"

Filter series by status

validation_code
string

Validation Code of the Serie

Responses

Request samples

Content type
application/json
{
  • "type": "invoice",
  • "status": "active",
  • "validation_code": "string"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Activate Serie

Activates the series identified by its public serie_id. Requires an active invoicing service.

Authorizations:
oauth2
Request Body schema: application/json
required
serie_id
required
integer

Public series identifier returned by Get Series.

Responses

Request samples

Content type
application/json
{
  • "serie_id": 1
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Serie successfully activated!"
}

Deactivate Serie

Deactivates the series identified by its public serie_id. Requires an active invoicing service.

Authorizations:
oauth2
Request Body schema: application/json
required
serie_id
required
integer

Public series identifier returned by Get Series.

Responses

Request samples

Content type
application/json
{
  • "serie_id": 1
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Serie successfully deactivated!"
}

Stock Movements

This segment provides comprehensive insights and guidelines on leveraging the invoicing capabilities of the Biziq API. Whether you’re initiating transactions, managing financial records, or enhancing your invoicing workflows, this section serves as your go-to resource. Endpoints for managing stock movements documents under the Invoicing section.

Create Stock Movement Document

Authorizations:
oauth2
Request Body schema: application/json
required
type
required
string
Enum: "break_note" "inventory_entry" "inventory_exit"

Type of Stock Movement Document

date
string <date>

Date of the Stock Movement Document

status
string
Default: "final"

Debit Note status (final or draft)

remarks
string

Remarks of the Stock Movement Document

required
Array of objects

List of invoice line items

Responses

Request samples

Content type
application/json
Example
{
  • "type": "break_note",
  • "date": "2025-06-25",
  • "remarks": "Test",
  • "status": "draft",
  • "line_items": [
    ]
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Get Stock Movement Document

Authorizations:
oauth2
query Parameters
name
string

Document Identification

document_id
string

Document Identification

Request Body schema: application/json
Any of
name
required
string
document_id
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "NQ BETA/000001"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": {
    }
}

Change Stock Movement Document Status

Authorizations:
oauth2
Request Body schema: application/json
Any of
name
required
string
document_id
string
status
required
string
cancelation_reason
string

Responses

Request samples

Content type
application/json
Example
{
  • "name": "NQ BETA/000001",
  • "status": "canceled",
  • "cancelation_reason": "Client requested cancellation"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Your document was successfully finalized"
}

SMS

This segment outlines various requests that users can execute to effectively manage their SMS interactions within the Biziq platform.

Create/Send SMS

In order to dispatch SMS messages, users must provide the necessary data within the request body, formatted in JSON. The essential body parameters for this request include:

Authorizations:
oauth2
Request Body schema: application/json
message
required
string

The message that the user intends to send

mobile_num
string

Mobile number of the message recipient

mobile_code
string

Indicates the mobile number code relative to the country

sender
required
string

Identification of the message sender

sms_schedule
string

Schedule for sending the message on a specified day and hour (ISO 8601 format)

blk_Add
string

Enables users to send the same message to multiple numbers

mobile_num_blk
string

Comma-separated list of numbers to send the message to

template_Add
string

Allows the addition of an SMS template

template_name
string

Name of the SMS template

hh
string

Additional hour information

mm
string

Additional minute information

Responses

Request samples

Content type
application/json
Example
{
  • "message": "Hi.",
  • "mobile_num": "9xxxxxxxx",
  • "sender": "MyCompany"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "SMS sent successfully."
}

Sender

This segment outlines various requests that users can execute to effectively manage their SMS interactions within the Biziq platform. Endpoints for managing Senders under the SMS section.

Create Sender

In order to create senders, users must provide the necessary data within the request body, formatted in JSON. The essential body parameters for this request include:

Authorizations:
oauth2
Request Body schema: application/json
sender_name
required
string

The sender that the user intends to create

unlimited
boolean

Identifies whether the created sender has an unlimited expiration time

expire_on
string <date>

Expiration date of the sender in format YYYY-MM-DD

Responses

Request samples

Content type
application/json
Example
{
  • "sender_name": "MyCompanySMS",
  • "unlimited": false,
  • "expire_on": "2025-12-31"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Sender create successfully."
}

Template

This segment outlines various requests that users can execute to effectively manage their SMS interactions within the Biziq platform. Endpoints for managing Templates under the SMS section.

Create Template

In order to create templates, users must provide the necessary data within the request body, formatted in JSON. The essential body parameters for this request include:

Authorizations:
oauth2
query Parameters
name
required
string

The name of the template that the user intends to create

template
required
string

The template that the client intends to create

Request Body schema: application/json
name
required
string

The name of the template that the user intends to create

template
required
string

The template content that the client intends to create

Responses

Request samples

Content type
application/json
{
  • "name": "Summer Promotion",
  • "template": "Hi, enjoy summer promotion with us! Get 20% off on all products. Use code SUMMER20 at checkout."
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Template create successfully."
}

Contacts

This segment outlines various requests that users can execute to effectively manage their SMS interactions within the Biziq platform. Endpoints for managing Contacts under the SMS section.

Create Contacts

In order to create contacts, users must provide the necessary data within the request body, formatted in JSON. The essential body parameters for this request include:

Authorizations:
oauth2
Request Body schema: application/json
name
required
string

The name the user intends to add to the contact

mobile_number
required
string

Mobile number of the contact

mobile_code_contact
required
string

The country identifier used in the contact to be saved

Responses

Request samples

Content type
application/json
Example
{
  • "name": "Nome do Cliente",
  • "mobile_number": "9xxxxxxxx",
  • "mobile_code_contact": "55"
}

Response samples

Content type
application/json
{
  • "response": "success",
  • "message": "Contact successfully created."
}