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.
The API endpoints are available through the following domains:
https://sandboxapi.biziq.app/
https://api.biziq.app/
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).
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>"}'
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").
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 expected4xx 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.
This error can have multiple potential causes. Here are some examples:
This error can only have one cause, you provided an invalid/unsupported content type header.
This error happens when you provide a bad formated JSON payload.
This error indicates the information provided was incorrect of insufficient (for example, a required parameter was omitted).
This error indicates that an unexpected error ocurred on our servers.
Obtain OAuth2 access tokens using the Client Credentials grant. This is the recommended way to authenticate with the Biziq API.
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.
| grant_type required | string Value: "client_credentials" Must be |
| 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 |
{- "grant_type": "client_credentials",
- "client_id": "9d2f6c1e-4b7a-4a51-8f0e-2d6b3c9a1f10",
- "client_secret": "<CLIENT_SECRET>",
- "company_vat": "xxxxxxxxx"
}{- "token_type": "Bearer",
- "expires_in": 3600,
- "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...",
- "company_vat": "xxxxxxxxx"
}Returns the details of the authenticated user. Use it to validate your access token (Authorization: Bearer <access_token>).
curl https://api.biziq.app/userSettings/details \ -H "Authorization: Bearer <ACCESS_TOKEN>"
{- "response": "success",
- "user": {
- "address": "Rua Exemplo, 123",
- "birth_date": "Porto",
- "city": "Porto",
- "country": "PT",
- "companies": {
- "xxxxxxxxx": "Company"
}, - "credentials": {
- "accountid": "2123",
- "apikey": "2123-21dqwd12-cwq2132r"
}, - "name": "User",
- "postal_code": "xxxx-xxx"
}
}This segment outlines various requests that users can execute to effectively manage their personal information within the Biziq platform.
Returns the details of the authenticated user. Use it to validate your access token (Authorization: Bearer <access_token>).
curl https://api.biziq.app/userSettings/details \ -H "Authorization: Bearer <ACCESS_TOKEN>"
{- "response": "success",
- "user": {
- "address": "Rua Exemplo, 123",
- "birth_date": "Porto",
- "city": "Porto",
- "country": "PT",
- "companies": {
- "xxxxxxxxx": "Company"
}, - "credentials": {
- "accountid": "2123",
- "apikey": "2123-21dqwd12-cwq2132r"
}, - "name": "User",
- "postal_code": "xxxx-xxx"
}
}This segment provides comprehensive insights and guidelines on leveraging the company settings capabilities of the Biziq API.
To successfully get company's data, users are only required to furnish the AUTHORIZATIONS parameters.
{- "response": "success",
- "message": {
- "company": {
- "address": {
- "address": "Rua Exemplo, 123",
- "city": "Porto",
- "country": "PT",
- "postal_code": "xxxx-xxx"
}, - "business_data": {
- "email": "Jonh Doe",
- "fax": "22 206 1597",
- "mobile": "22 206 1597",
- "phone": "22 206 1597"
}, - "conservatory": "Conservatória do Registo Comercial",
- "name": "Empresa Exemplo",
- "vat": "xxxxxxxxx",
- "type": "Undefined",
- "share_capital": "1000"
}
}
}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:
| 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 |
{- "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": [
- "accounting",
- "legal",
- "payroll"
], - "share_capital": 1000,
- "postal_code": "xxxx-xxx",
- "vat_number": "xxxxxxxxx"
}{- "response": "success",
- "message": {
- "company": {
- "address": {
- "address": "Rua Exemplo, 123",
- "city": "Porto",
- "country": "PT",
- "postal_code": "xxxx-xxx"
}, - "business_data": {
- "email": "Jonh Doe",
- "fax": "22 206 1597",
- "mobile": "22 206 1597",
- "phone": "22 206 1597"
}, - "conservatory": "Conservatória do Registo Comercial",
- "name": "Empresa Exemplo",
- "vat": "xxxxxxxxx",
- "type": "Undefined",
- "share_capital": "1000"
}
}
}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:
| 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 |
{- "address": "Rua das Flores, 123",
- "city": "Lisboa",
- "postal_code": "xxxx-xxx"
}{- "response": "success",
- "message": {
- "company": {
- "address": {
- "address": "Rua Exemplo, 123",
- "city": "Porto",
- "country": "PT",
- "postal_code": "xxxx-xxx"
}, - "business_data": {
- "email": "Jonh Doe",
- "fax": "22 206 1597",
- "mobile": "22 206 1597",
- "phone": "22 206 1597"
}, - "conservatory": "Conservatória do Registo Comercial",
- "name": "Empresa Exemplo",
- "vat": "xxxxxxxxx",
- "type": "Undefined",
- "share_capital": "1000"
}
}
}Creates the Tax Authority communication credentials. An existing configuration is kept and returns success. Requires an active invoicing service.
| 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). |
{- "username": "xxxxxxxxx/1",
- "password": "string"
}{- "response": "success",
- "message": "Tax Authority Communication successfully created"
}Returns the communication preferences and username. Requires an active invoicing service.
{- "response": "success",
- "message": {
- "communication": {
- "communicate_documents": true,
- "communicate_series": true,
- "communicate_transport_guides": true,
- "status": 1,
- "username": "xxxxxxxxx/1"
}
}
}Activates the existing communication configuration. Requires an active invoicing service.
{- "response": "success",
- "message": {
- "communication": {
- "communicate_documents": true,
- "communicate_series": true,
- "communicate_transport_guides": true,
- "status": 1,
- "username": "xxxxxxxxx/1"
}
}
}Deactivates the existing communication configuration. Requires an active invoicing service.
{- "response": "success",
- "message": {
- "communication": {
- "communicate_documents": true,
- "communicate_series": true,
- "communicate_transport_guides": true,
- "status": 0,
- "username": "xxxxxxxxx/1"
}
}
}Updates all three communication preferences of the existing configuration. Requires an active invoicing service.
| 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. |
{- "communicate_documents": true,
- "communicate_series": true,
- "communicate_transport_guides": true
}{- "response": "success",
- "message": {
- "communication": {
- "communicate_documents": true,
- "communicate_series": true,
- "communicate_transport_guides": true,
- "status": 1,
- "username": "xxxxxxxxx/1"
}
}
}Returns the configured services with their channels, templates and series. Requires an active invoicing service.
{- "response": "success",
- "message": [
- {
- "type": "invoice",
- "status": 1,
- "channel": "Main",
- "channel_id": 1,
- "template": "Default",
- "template_id": 1,
- "serie": "A001",
- "serie_id": 1
}
]
}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.
required | Array of objects [ 1 .. 10 ] items |
{- "services": [
- {
- "document": "invoice",
- "channel_id": 1,
- "serie_id": 1,
- "show_iban": true
}, - {
- "document": "credit_note",
- "channel_id": 1,
- "serie_id": 2
}
]
}{- "response": "success",
- "message": "API Invoicing Services successfully created!",
- "created": [
- "invoice",
- "credit_note"
]
}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.
| 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. |
{- "document": "invoice",
- "channel_id": 1,
- "serie_id": 1
}{- "response": "success",
- "message": "API Invoicing Service successfully updated!"
}Activates all configured API invoicing services for the selected company. No request body is required. Requires an active invoicing service.
{- "response": "success",
- "message": "API Invoicing Service successfully ativated!"
}Deactivates all configured API invoicing services for the selected company. No request body is required. Requires an active invoicing service.
{- "response": "success",
- "message": "API Invoicing Service successfully deativated!"
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
{- "response": "success",
- "data": [
- {
- "method_id": 1,
- "mechanism": "TB",
- "name": "Bank transfer",
- "original_name": "Transferência bancária",
- "status": 1
}
]
}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.
| method_id required | number Example: method_id=1 Public payment method identifier. |
{- "response": "success",
- "data": [
- {
- "method_id": 1,
- "mechanism": "TB",
- "name": "Bank transfer",
- "original_name": "Transferência bancária",
- "status": 1
}
]
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| method_id required | number Public payment method identifier. |
{- "method_id": 1
}{- "response": "success",
- "data": "Payment Method activated successfully!"
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| method_id required | number Public payment method identifier. |
{- "method_id": 1
}{- "response": "success",
- "data": "Payment Method deactivated successfully!"
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| method_id required | number Example: method_id=1 Public payment method identifier. |
{- "response": "success",
- "data": "Payment Method deleted successfully!"
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| 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. |
{- "name": "Bank transfer",
- "mechanism": "TB"
}{- "response": "success",
- "data": [
- {
- "method_id": 1,
- "mechanism": "TB",
- "name": "Bank transfer",
- "original_name": "Transferência bancária",
- "status": 1
}
]
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| method_id required | number Public payment method identifier. |
| name required | string <= 50 characters Custom payment method name |
{- "method_id": 1,
- "name": "Bank transfer"
}{- "response": "success",
- "data": "Payment Method updated successfully!"
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| 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 |
{- "bank_name": "Banco Exemplo",
- "holder_name": "Empresa Exemplo",
- "iban": "PT50000201231234567890154",
- "swift_code": "BPAIPTPL"
}{- "response": "success",
- "data": {
- "bank_name": "Banco Exemplo",
- "holder_name": "Empresa Exemplo",
- "iban": "PT50000201231234567890154",
- "iban_id": 1,
- "status": "active",
- "swift_code": "BPAIPTPL"
}
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| 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 |
{- "iban_id": 1,
- "bank_name": "Banco Exemplo",
- "holder_name": "Empresa Exemplo",
- "iban": "PT50000201231234567890154",
- "swift_code": "BPAIPTPL"
}{- "response": "success",
- "data": {
- "bank_name": "Banco Exemplo",
- "holder_name": "Empresa Exemplo",
- "iban": "PT50000201231234567890154",
- "iban_id": 1,
- "status": "active",
- "swift_code": "BPAIPTPL"
}
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| status | string or null Enum: "active" " inactive" Example: status=active Optional status filter. The current validator includes a leading space in the inactive value. |
{- "response": "success",
- "data": [
- {
- "bank_name": "Banco Exemplo",
- "holder_name": "Empresa Exemplo",
- "iban": "PT50000201231234567890154",
- "iban_id": 1,
- "status": "active",
- "swift_code": "BPAIPTPL"
}
]
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| iban_id required | number Example: iban_id=1 Public IBAN identifier. |
{- "response": "success",
- "data": {
- "bank_name": "Banco Exemplo",
- "holder_name": "Empresa Exemplo",
- "iban": "PT50000201231234567890154",
- "iban_id": 1,
- "status": "active",
- "swift_code": "BPAIPTPL"
}
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| iban_id required | number Public IBAN identifier. |
{- "iban_id": 1
}{- "response": "success",
- "data": {
- "bank_name": "Banco Exemplo",
- "holder_name": "Empresa Exemplo",
- "iban": "PT50000201231234567890154",
- "iban_id": 1,
- "status": "active",
- "swift_code": "BPAIPTPL"
}
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| iban_id required | number Public IBAN identifier. |
{- "iban_id": 1
}{- "response": "success",
- "data": {
- "bank_name": "Banco Exemplo",
- "holder_name": "Empresa Exemplo",
- "iban": "PT50000201231234567890154",
- "iban_id": 1,
- "status": "active",
- "swift_code": "BPAIPTPL"
}
}Requires an active invoicing service. Uses the company associated with the OAuth access token.
| iban_id required | number Example: iban_id=1 Public IBAN identifier. |
{- "response": "success",
- "data": "IBAN successfully deleted!"
}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.
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:
| 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 |
| 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 |
{- "name": "Client Name"
}{- "response": "success",
- "message": {
- "Client": {
- "address": "Conservatória do Registo Comercial",
- "city": "Porto",
- "country": "PT",
- "postal_code": "xxxx-xxx",
- "vat_number": "xxxxxxxxx"
}
}
}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.
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:
| 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 |
{- "address": "Rua das Flores, 123",
- "city": "Lisboa",
- "country": "PT",
- "name": "Canal Exemplo",
- "postal_code": "xxxx-xxx"
}{- "response": "success",
- "message": {
- "channel": {
- "address": "Rua das Flores, 123",
- "channel_id": "123",
- "city": "Lisboa",
- "country": "PT",
- "name": "Canal Exemplo",
- "postal_code": "xxxx-xxx",
- "status": "success"
}
}
}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:
| 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 |
{- "address": "Rua das Flores, 123",
- "channel_id": "123",
- "city": "Lisboa",
- "country": "PT",
- "name": "Canal Exemplo",
- "postal_code": "xxxx-xxx"
}{- "response": "success",
- "message": {
- "channel": {
- "address": "Rua das Flores, 123",
- "channel_id": "123",
- "city": "Lisboa",
- "country": "PT",
- "name": "Canal Exemplo",
- "postal_code": "xxxx-xxx",
- "status": "success"
}
}
}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:
| channel_id required | string Channel's identification |
{- "channel_id": "123"
}{- "response": "success",
- "message": {
- "channel": {
- "address": "Rua das Flores, 123",
- "channel_id": "123",
- "city": "Lisboa",
- "country": "PT",
- "name": "Canal Exemplo",
- "postal_code": "xxxx-xxx",
- "status": "success"
}
}
}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:
| channel_id required | string Channel's identification |
{- "channel_id": "123"
}{- "response": "success",
- "message": "success"
}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:
| channel_id required | string Channel's identification |
{- "channel_id": "123"
}{- "response": "success",
- "message": "success"
}To successfully get a list of channels, users are not required to furnish any data.
{- "response": "success",
- "message": [
- {
- "address": "Rua das Flores, 123",
- "channel_id": "123",
- "city": "Lisboa",
- "country": "PT",
- "name": "Canal Exemplo",
- "postal_code": "xxxx-xxx",
- "status": "active"
}, - {
- "address": "Calle de las Tartas, 456",
- "channel_id": "456",
- "city": "Madrid",
- "country": "ES",
- "name": "Canal Exemplo",
- "postal_code": "xxxx-xxx",
- "status": "inactive"
}
]
}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.
| 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 ( |
| 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 ( |
{- "date": "2025-06-25",
- "name": "FT BETA/000001",
- "serie": "Serie A",
- "reason": "Refund",
- "line_items": {
- "code": "A001",
- "qty": "10",
- "price": "100.00"
}
}{- "response": "success",
- "message": {
- "document": {
- "name": "NC BETA/000001",
- "status": "final",
- "reason": "Refund",
- "date": "2024-01-01",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000",
- "atcud": "JFK2B7XP-000001",
- "hash_code": "aB3x",
- "certification_number": "3055/AT",
- "qr_code": "A:123456789*B:999999990*C:PT*D:FS*E:N*F:20261023*G:FS A/000001*H:JFK2B7XP-000001*I1:PT*I7:3.00*I8:0.69*N:0.69*O:3.69*Q:aB3x*R:3055",
- "communicated_to_at": true,
- "kept_draft": false,
- "idempotent_replay": false
}, - "document_sent": "Document sent.",
}
}| name | string Invoice Identification |
| document_id | string Document Identification |
| name required | string |
| document_id | string |
{- "name": "NC BETA/000001"
}{- "response": "success",
- "message": {
- "document": {
- "name": "NC BETA/000001",
- "status": "final",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000",
- "document_id": 1,
- "date": "2024-01-01 00:00:00",
- "remarks": "Cliente VIP, pagamento antecipado.",
- "vat_only": false,
- "vat_only_mention": null,
- "evidences": [
- {
- "type": "customer_confirmation",
- "date": "2019-08-24",
- "description": "string",
- "has_file": true
}
],
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT",
- "company_name": "Example Company"
}, - "lines": [
- {
- "code": "ITEM-001",
- "description": "Produto",
- "discount": 0,
- "price": 3,
- "qty": 1,
- "tax_exemption": "",
- "tax_exemption_reason": "",
- "type": "Product",
- "vat": 23
}
], - "related_documents": [
- {
- "date": "2024-01-01",
- "name": "FT BETA/000001",
- "total": 3.69
}
]
}
}| name required | string |
| document_id | string |
| status required | string |
| cancelation_reason | string |
{- "name": "NC BETA/000001",
- "status": "canceled",
- "cancelation_reason": "Client requested cancellation"
}{- "response": "success",
- "message": "Your document was successfully finalized"
}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.
| 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. |
{- "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": [
- {
- "code": "0008",
- "corrected_vat": 0
}
], - "verba_242": false
}{- "response": "success",
- "kept_draft": false,
- "kept_draft_reason": null,
- "document": {
- "document_id": 45,
- "name": "NC 2026/7",
- "status": "final",
- "date": "2026-11-10",
- "atcud": "ABCD1234-7",
- "vat": 170,
- "total": 170,
- "corrected_invoice": "FT 2026/12"
}
}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.
| 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 |
{- "date": "2025-06-25",
- "name": "FT BETA/000001",
- "serie": "Serie A",
- "reason": "Add Item",
- "status": "draft",
- "line_items": [
- {
- "code": "A100",
- "description": "Tech Consulting",
- "discount": "5%",
- "qty": "10",
- "price": "100.00",
- "type": "Service",
- "unit": "Hour",
- "vat": "23"
}, - {
- "code": "B200",
- "description": "Software License",
- "discount": "0%",
- "qty": "1",
- "price": "500.00",
- "type": "Product",
- "unit": "Unit",
- "vat": "23"
}
]
}{- "response": "success",
- "message": {
- "document": {
- "name": "ND BETA/000001",
- "status": "final",
- "reason": "Add Value",
- "date": "2024-01-01",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000"
}, - "document_sent": "Document sent.",
}
}| name | string Document Identification |
| document_id | string Document Identification |
| name required | string |
| document_id | string |
{- "name": "ND BETA/000001"
}{- "response": "success",
- "message": {
- "document": {
- "name": "ND BETA/000001",
- "status": "final",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000",
- "document_id": 1,
- "date": "2024-01-01 00:00:00",
- "remarks": "Cliente VIP, pagamento antecipado.",
- "vat_only": false,
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT",
- "company_name": "Example Company"
}, - "lines": [
- {
- "code": "ITEM-001",
- "description": "Produto",
- "discount": 0,
- "price": 3,
- "qty": 1,
- "tax_exemption": "",
- "tax_exemption_reason": "",
- "type": "Product",
- "vat": 23
}
], - "related_documents": [
- {
- "date": "2024-01-01",
- "name": "FT BETA/000001",
- "total": 3.69
}
]
}
}| name required | string |
| document_id | string |
| status required | string |
| cancelation_reason | string |
{- "name": "ND BETA/000001",
- "status": "canceled",
- "cancelation_reason": "Client requested cancellation"
}{- "response": "success",
- "message": "Your document was successfully finalized"
}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.
| 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 |
{- "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": [
- {
- "code": "0008",
- "vat": 23
}
]
}{- "response": "success",
- "kept_draft": false,
- "kept_draft_reason": null,
- "document": {
- "document_id": 45,
- "name": "ND 2026/3",
- "status": "final",
- "date": "2026-11-10",
- "atcud": "ABCD1234-7",
- "vat": 170,
- "total": 170,
- "corrected_invoice": "FT 2026/12"
}
}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.
| 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. |
{- "response": "success",
- "recordsTotal": 1,
- "page": 1,
- "totalPages": 1,
- "records": [
- {
- "document": {
- "document_id": 1,
- "name": "FT 2026/1",
- "status": "final",
- "type": "invoice",
- "date": "2026-09-21",
- "currency": "EUR",
- "discount": 0,
- "vat": 23,
- "subtotal": 100,
- "total": 123
}, - "client": {
- "name": "Example Client",
- "address": "Rua das Flores, 123",
- "city": "Lisboa",
- "country": "PT",
- "vat_number": "509123456"
}, - "channel": {
- "name": "Online Store",
- "address": "Rua do Comércio, 10",
- "city": "Porto",
- "country": "PT"
}
}
]
}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.
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:
| 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 |
| 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 |
{- "code": "ITEM123"
}{- "response": "success",
- "message": {
- "Item": {
- "id": 1,
- "description": "Bananas from Madeira",
- "price": "12",
- "type": "Product",
- "unit": "Unit",
- "price_with_vat": true,
- "vat": 23,
- "stamp_tax": null,
- "status": "active",
- "updated_at": "2026-10-23T10:00:00.000000Z",
- "deleted": false
}
}, - "pagination": {
- "page": 1,
- "per_page": 100,
- "total": 250,
- "last_page": 3
}
}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.
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:
| 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' |
{- "period": "month"
}{- "response": "success",
- "message": {
- "invoice_count": "1",
- "invoice_vat_total": "2,50",
- "invoice_total": "12,50"
}
}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:
| 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 ( |
| 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 ( |
| generateStub | boolean If you want to receive the printable stub (HTML, original and duplicate) of the document in the response |
{- "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": [
- {
- "method": "Multibanco/Mbway",
- "date": "2025-08-11",
- "value": "3"
}, - {
- "method": "Numerário",
- "date": "2025-08-11",
- "value": "0.69"
}
], - "tax_exemption": null,
- "recurrence": "monthly",
- "remarks": "Cliente VIP, pagamento antecipado.",
- "retention": 3,
- "send_to_client": true,
- "showIban": true,
- "status": "final",
- "client": {
- "vat_number": "xxxxxxxxx",
- "name": "Empresa Exemplo Lda",
- "country": "PT",
- "address": "Rua das Flores, 123",
- "city": "Lisboa",
- "postal_code": "xxxx-xxx"
}, - "line_items": [
- {
- "code": "A100",
- "description": "Tech Consulting",
- "discount": "5",
- "qty": "10",
- "price": "100.00",
- "type": "Service",
- "unit": "Hour",
- "vat": "23"
}, - {
- "code": "B200",
- "description": "Software License",
- "discount": "0",
- "qty": "1",
- "price": "500.00",
- "type": "Product",
- "unit": "Unit",
- "vat": "23"
}
]
}{- "response": "success",
- "message": {
- "document": {
- "invoice": {
- "document_id": "1",
- "name": "FT BETA/000001",
- "status": "final",
- "is_receipt": "invoice",
- "operation_date": "2026-10-15",
- "corrected_invoice": "FT 2026/12",
- "inv_date": "2024-01-01 00:00:00",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000",
- "atcud": "JFK2B7XP-000001",
- "hash_code": "aB3x",
- "certification_number": "3055/AT",
- "qr_code": "A:123456789*B:999999990*C:PT*D:FS*E:N*F:20261023*G:FS A/000001*H:JFK2B7XP-000001*I1:PT*I7:3.00*I8:0.69*N:0.69*O:3.69*Q:aB3x*R:3055",
- "communicated_to_at": true,
- "kept_draft": false,
- "idempotent_replay": false
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT"
}
}, - "document_sent": "Document sent.",
}
}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:
| 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 |
{- "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": [
- {
- "method": "Multibanco/Mbway",
- "date": "2025-08-11",
- "value": "3"
}, - {
- "method": "Numerário",
- "date": "2025-08-11",
- "value": "0.69"
}
], - "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": [
- {
- "code": "A100",
- "description": "Tech Consulting",
- "discount": "5%",
- "qty": "10",
- "price": "100.00",
- "type": "Service",
- "unit": "Hour",
- "vat": "23"
}, - {
- "code": "B200",
- "description": "Software License",
- "discount": "0%",
- "qty": "1",
- "price": "500.00",
- "type": "Product",
- "unit": "Unit",
- "vat": "23"
}
]
}{- "response": "success",
- "message": {
- "document": {
- "invoice": {
- "document_id": "1",
- "name": "FT BETA/000001",
- "status": "final",
- "is_receipt": "invoice",
- "operation_date": "2026-10-15",
- "corrected_invoice": "FT 2026/12",
- "inv_date": "2024-01-01 00:00:00",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000"
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT"
}
}, - "document_sent": "Document sent.",
}
}| name | string Invoice Identification |
| document_id | string Document Identification |
| 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. |
{- "name": "FT BETA/000001"
}{- "response": "success",
- "message": {
- "document": {
- "name": "FT BETA/000001",
- "status": "final",
- "is_receipt": "invoice",
- "operation_date": "2026-10-15",
- "corrected_invoice": "FT 2026/12",
- "inv_date": "2024-01-01 00:00:00",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000",
- "document_id": 1,
- "remarks": "Cliente VIP, pagamento antecipado.",
- "payments": [
- {
- "date": "2024-01-01",
- "mechanism": "",
- "method": "",
- "value": 3.69
}
]
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT",
- "company_name": "Example Company"
}, - "lines": [
- {
- "code": "ITEM-001",
- "description": "Produto",
- "discount": 0,
- "price": 3,
- "qty": 1,
- "tax_exemption": "",
- "tax_exemption_reason": "",
- "type": "Product",
- "vat": 23
}
], - "related_documents": [
- {
- "date": "2024-01-01",
- "name": "FT BETA/000001",
- "total": 3.69
}
]
}
}| name required | string |
| document_id | string |
| status required | string |
| cancelation_reason | string |
{- "name": "FT BETA/000001",
- "status": "canceled",
- "cancelation_reason": "Client requested cancellation"
}{- "response": "success",
- "message": "Your document was successfully finalized"
}| names required | Array of strings List of invoice names to send |
string <email> Email to send the Invoice. If not set, it will be sent to the client’s email |
{- "names": [
- "FT BETA/000003"
], - "mail": "[email protected]"
}{- "response": "success",
- "message": {
- "document": {
- "name": "FT BETA/000001",
- "document_sent": true
}
}
}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:
| 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 |
{- "response": "success",
- "bash_id": "8a005421-77ee-44d3-a84c-cceef66c11a3",
- "invalid": {
- "document": {
- "client": {
- "address": "Rua De So Joo, 90 2",
- "cid_external": "10792",
- "city": "Angra Do Herosmo",
- "country": "PT",
- "economic_area": "0",
- "name": "Sandra Sousa, Lda",
- "postal_code": "xxxx-xxx",
- "vat_number": "xxxxxxxxx"
}, - "inv_date": "2025-04-15",
- "invoicing_start_date": "2023-11-16 00:00:00",
- "invoicing_end_date": "2025-04-15 23:59:59",
- "is_receipt": "receipt",
- "line_items": [
- {
- "tax_exemption": "M01",
- "client_child": {
- "address": "Rua De So Joo, 90 2",
- "cid_external": "10792",
- "city": "Angra Do Herosmo",
- "economic_area": "0",
- "name": "Sandra Sousa, Lda",
- "postal_code": "xxxx-xxx",
- "vat": "xxxxxxxxx"
}, - "description": "Movimentos do dia 2025-04-08",
- "price": "1.40000",
- "vat": "16.00",
- "code": "COM01",
- "type": "Product",
- "qty": 1
}
], - "remarks": "",
- "currency": "EUR_€",
- "status": "final"
}, - "errors": {
- "line_items.0.vat": [
- "The selected line_items.0.vat is invalid."
]
}
}
}Returns the status of a mass import operation, including pagination and processing results.
| hash required | string Mass import hash |
| page | integer >= 1 Default: 1 Page number for pagination |
{- "hash": "abc123xyz",
- "page": 1
}{- "response": "success",
- "queued_count": 0,
- "done_count": 191,
- "data": {
- "current_page": 1,
- "data": [
- {
- "cid": null,
- "type": "receipt",
- "name": "FR BETAURATE-2025/000381",
- "date": "2025-06-03",
- "lines": "{\"client\":{\"address\":\"Rua Quinta do Bom Retiro, 9 Armazm 4, Vale Fetal\",\"cid_external\":\"13\"}}",
- "status": "done"
}
]
}
}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.
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:
| 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 |
{- "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": {
- "vat_number": "xxxxxxxxx",
- "name": "Empresa Exemplo Lda",
- "country": "PT",
- "address": "Rua das Flores, 123",
- "city": "Lisboa",
- "postal_code": "xxxx-xxx"
}, - "line_items": [
- {
- "code": "A100",
- "description": "Tech Consulting",
- "discount": "5",
- "qty": "10",
- "price": "100.00",
- "type": "Service",
- "unit": "Hour",
- "vat": "23"
}, - {
- "code": "B200",
- "description": "Software License",
- "discount": "0",
- "qty": "1",
- "price": "500.00",
- "type": "Product",
- "unit": "Unit",
- "vat": "23"
}
]
}{- "response": "success",
- "message": {
- "document": {
- "proforma": {
- "document_id": "1",
- "name": "PF BETA/000001",
- "status": "final",
- "inv_date": "2024-01-01 00:00:00",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000"
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT"
}
}, - "document_sent": "Document sent.",
}
}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:
| 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 |
{- "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": {
- "vat_number": "xxxxxxxxx",
- "name": "Empresa Exemplo Lda",
- "country": "PT",
- "address": "Rua das Flores, 123",
- "city": "Lisboa",
- "postal_code": "xxxx-xxx"
}, - "line_items": [
- {
- "code": "A100",
- "description": "Tech Consulting",
- "discount": "5",
- "qty": "10",
- "price": "100.00",
- "type": "Service",
- "unit": "Hour",
- "vat": "23"
}, - {
- "code": "B200",
- "description": "Software License",
- "discount": "0",
- "qty": "1",
- "price": "500.00",
- "type": "Product",
- "unit": "Unit",
- "vat": "23"
}
]
}{- "response": "success",
- "message": {
- "document": {
- "proforma": {
- "document_id": "1",
- "name": "PF BETA/000001",
- "status": "final",
- "inv_date": "2024-01-01 00:00:00",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000"
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT"
}
}, - "document_sent": "Document sent.",
}
}| name | string Invoice Identification |
| document_id | string Document Identification |
| name required | string |
| document_id | string |
{- "name": "PF BETA/000001"
}{- "response": "success",
- "message": {
- "document": {
- "name": "PF BETA/000001",
- "status": "final",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000",
- "document_id": 1,
- "date": "2024-01-01 00:00:00",
- "remarks": "Cliente VIP, pagamento antecipado.",
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT",
- "company_name": "Example Company"
}, - "lines": [
- {
- "code": "ITEM-001",
- "description": "Produto",
- "discount": 0,
- "price": 3,
- "qty": 1,
- "tax_exemption": "",
- "tax_exemption_reason": "",
- "type": "Product",
- "vat": 23
}
], - "related_documents": [
- {
- "date": "2024-01-01",
- "name": "FT BETA/000001",
- "total": 3.69
}
]
}
}| name required | string |
| document_id | string |
| status required | string |
| cancelation_reason | string |
{- "name": "PF BETA/000001",
- "status": "canceled",
- "cancelation_reason": "Client requested cancellation"
}{- "response": "success",
- "message": "Your document was successfully finalized"
}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.
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:
| 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 |
{- "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": {
- "vat_number": "xxxxxxxxx",
- "name": "Empresa Exemplo Lda",
- "country": "PT",
- "address": "Rua das Flores, 123",
- "city": "Lisboa",
- "postal_code": "xxxx-xxx"
}, - "line_items": [
- {
- "code": "A100",
- "description": "Tech Consulting",
- "discount": "5",
- "qty": "10",
- "price": "100.00",
- "type": "Service",
- "unit": "Hour",
- "vat": "23"
}, - {
- "code": "B200",
- "description": "Software License",
- "discount": "0",
- "qty": "1",
- "price": "500.00",
- "type": "Product",
- "unit": "Unit",
- "vat": "23"
}
]
}{- "response": "success",
- "message": {
- "document": {
- "quotation": {
- "document_id": "1",
- "name": "OR BETA/000001",
- "status": "final",
- "inv_date": "2024-01-01 00:00:00",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000"
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT"
}
}, - "document_sent": "Document sent.",
}
}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:
| 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 |
| 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 |
{- "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": {
- "vat_number": "xxxxxxxxx",
- "name": "Empresa Exemplo Lda",
- "country": "PT",
- "address": "Rua das Flores, 123",
- "city": "Lisboa",
- "postal_code": "xxxx-xxx"
}, - "line_items": [
- {
- "code": "A100",
- "description": "Tech Consulting",
- "discount": "5",
- "qty": "10",
- "price": "100.00",
- "type": "Service",
- "unit": "Hour",
- "vat": "23"
}, - {
- "code": "B200",
- "description": "Software License",
- "discount": "0",
- "qty": "1",
- "price": "500.00",
- "type": "Product",
- "unit": "Unit",
- "vat": "23"
}
]
}{- "response": "success",
- "message": {
- "document": {
- "quotation": {
- "document_id": "1",
- "name": "OR BETA/000001",
- "status": "final",
- "inv_date": "2024-01-01 00:00:00",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000"
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT"
}
}, - "document_sent": "Document sent.",
}
}| name | string Invoice Identification |
| document_id | string Document Identification |
| name required | string |
| document_id | string |
{- "name": "OR BETA/000001"
}{- "response": "success",
- "message": {
- "document": {
- "name": "OR BETA/000001",
- "status": "final",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000",
- "document_id": 1,
- "date": "2024-01-01 00:00:00",
- "remarks": "Cliente VIP, pagamento antecipado.",
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT",
- "company_name": "Example Company"
}, - "lines": [
- {
- "code": "ITEM-001",
- "description": "Produto",
- "discount": 0,
- "price": 3,
- "qty": 1,
- "tax_exemption": "",
- "tax_exemption_reason": "",
- "type": "Product",
- "vat": 23
}
], - "related_documents": [
- {
- "date": "2024-01-01",
- "name": "FT BETA/000001",
- "total": 3.69
}
]
}
}| name required | string |
| document_id | string |
| status required | string |
| cancelation_reason | string |
{- "name": "OR BETA/000001",
- "status": "canceled",
- "cancelation_reason": "Client requested cancellation"
}{- "response": "success",
- "message": "Your document was successfully finalized"
}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.
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:
| 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) |
{- "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": "success",
- "message": {
- "document": {
- "receipt": {
- "document_id": "1",
- "name": "RG BETA/000001",
- "status": "final",
- "inv_date": "2024-01-01 00:00:00",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000"
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT"
}
}, - "document_sent": "Document sent.",
}
}| name | string Invoice Identification |
| document_id | string Document Identification |
| name required | string |
| document_id | string |
{- "name": "RG BETA/000001"
}{- "response": "success",
- "message": {
- "receipt": {
- "document_id": 1,
- "name": "RG BETA/000001",
- "status": "final",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000",
- "date": "2024-01-01 00:00:00",
- "remarks": "Cliente VIP, pagamento antecipado.",
- "payments": [
- {
- "date": "2024-01-01",
- "mechanism": "",
- "method": "",
- "value": 3.69
}
]
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT",
- "company_name": "Example Company"
}, - "related_documents": [
- {
- "date": "2024-01-01",
- "name": "FT BETA/000001",
- "total": 3.69
}
]
}
}| name required | string |
| document_id | string |
| status required | string |
| cancelation_reason | string |
{- "name": "RG BETA/000001",
- "status": "canceled",
- "cancelation_reason": "Client requested cancellation"
}{- "response": "success",
- "message": "Your document was successfully finalized"
}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.
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:
| 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 |
{- "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": {
- "vat_number": "xxxxxxxxx",
- "name": "Empresa Exemplo Lda",
- "country": "PT",
- "address": "Rua das Flores, 123",
- "city": "Lisboa",
- "postal_code": "xxxx-xxx"
}, - "line_items": [
- {
- "code": "A100",
- "description": "Tech Consulting",
- "discount": "5",
- "qty": "10",
- "price": "100.00",
- "type": "Service",
- "unit": "Hour",
- "vat": "23"
}, - {
- "code": "B200",
- "description": "Software License",
- "discount": "0",
- "qty": "1",
- "price": "500.00",
- "type": "Product",
- "unit": "Unit",
- "vat": "23"
}
]
}{- "response": "success",
- "message": {
- "document": {
- "transport_guide": {
- "document_id": "1",
- "name": "GT BETA/000001",
- "status": "final",
- "inv_date": "2024-01-01 00:00:00",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000"
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT"
}
}, - "document_sent": "Document sent.",
}
}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:
| 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 |
{- "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": [
- {
- "code": "A100",
- "description": "Tech Consulting",
- "discount": "5",
- "qty": "10",
- "price": "100.00",
- "type": "Service",
- "unit": "Hour",
- "vat": "23"
}, - {
- "code": "B200",
- "description": "Software License",
- "discount": "0",
- "qty": "1",
- "price": "500.00",
- "type": "Product",
- "unit": "Unit",
- "vat": "23"
}
]
}{- "response": "success",
- "message": {
- "document": {
- "transport_guide": {
- "document_id": "1",
- "name": "FT BETA/000001",
- "status": "final",
- "inv_date": "2024-01-01 00:00:00",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000"
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT"
}
}, - "document_sent": "Document sent.",
}
}| name | string Invoice Identification |
| document_id | string Document Identification |
| name required | string |
| document_id | string |
{- "name": "GT BETA/000001"
}{- "response": "success",
- "message": {
- "document": {
- "name": "GT BETA/000001",
- "status": "final",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000",
- "document_id": 1,
- "date": "2024-01-01 00:00:00",
- "remarks": "Cliente VIP, pagamento antecipado.",
}, - "client": {
- "name": "Jonh Doe",
- "address": "Street 21, n22",
- "city": "Porto",
- "country": "PT",
- "vat_number": "xxxxxxxxx"
}, - "channel": {
- "name": "Jonh Doe",
- "address": "Street 11, n29",
- "city": "Porto",
- "country": "PT",
- "company_name": "Example Company"
}, - "lines": [
- {
- "code": "ITEM-001",
- "description": "Produto",
- "discount": 0,
- "price": 3,
- "qty": 1,
- "tax_exemption": "",
- "tax_exemption_reason": "",
- "type": "Product",
- "vat": 23
}
], - "related_documents": [
- {
- "date": "2024-01-01",
- "name": "FT BETA/000001",
- "total": 3.69
}
]
}
}| name required | string |
| document_id | string |
| status required | string |
| cancelation_reason | string |
{- "name": "GT BETA/000001",
- "status": "canceled",
- "cancelation_reason": "Client requested cancellation"
}{- "response": "success",
- "message": "Your document was successfully finalized"
}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.
| 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. |
{- "start_date": "2025-01-01",
- "end_date": "2025-01-31",
- "rebuild": true
}{- "response": "success",
- "status": "finished",
}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.
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:
| 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 |
{- "name": "A001",
- "type": "invoice",
- "validation_code": "F23FM4GGBD"
}{- "response": "success",
- "message": {
- "serie": {
- "current_id": "1",
- "expire_date": "2024-12-31",
- "name": "1",
- "next_id": "2",
- "type": "invoice",
- "validation_code": "F23FM4GGBD"
}
}
}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 |
{- "type": "invoice",
- "status": "active",
- "validation_code": "string"
}{- "response": "success",
- "message": {
- "serie": {
- "serie_id": "1",
- "current_id": "1",
- "expire_date": "2024-12-31",
- "name": "1",
- "next_id": "2",
- "type": "invoice",
- "status": "true",
- "validation_code": "F23FM4GGBD"
}
}
}Activates the series identified by its public serie_id. Requires an active invoicing service.
| serie_id required | integer Public series identifier returned by Get Series. |
{- "serie_id": 1
}{- "response": "success",
- "message": "Serie successfully activated!"
}Deactivates the series identified by its public serie_id. Requires an active invoicing service.
| serie_id required | integer Public series identifier returned by Get Series. |
{- "serie_id": 1
}{- "response": "success",
- "message": "Serie successfully deactivated!"
}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.
| 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 |
{- "type": "break_note",
- "date": "2025-06-25",
- "remarks": "Test",
- "status": "draft",
- "line_items": [
- {
- "code": "A100",
- "description": "Tech Consulting",
- "warehouse": "Warehouse A",
- "qty": "10",
- "price": "100.00"
}, - {
- "code": "B200",
- "description": "Software License",
- "warehouse": "Warehouse A",
- "qty": "10",
- "price": "200.00"
}
]
}{- "response": "success",
- "message": {
- "document": {
- "name": "NQ BETA/000001",
- "status": "final",
- "remarks": "Add Value",
- "date": "2024-01-01",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000"
}
}
}| name | string Document Identification |
| document_id | string Document Identification |
| name required | string |
| document_id | string |
{- "name": "NQ BETA/000001"
}{- "response": "success",
- "message": {
- "document": {
- "name": "NQ BETA/000001",
- "status": "final",
- "date": "2024-01-01 00:00:00",
- "discount": "0.00000",
- "vat": "0.690000",
- "subtotal": "3.00000",
- "total": "3.690000",
- "document_id": 1
}
}
}| name required | string |
| document_id | string |
| status required | string |
| cancelation_reason | string |
{- "name": "NQ BETA/000001",
- "status": "canceled",
- "cancelation_reason": "Client requested cancellation"
}{- "response": "success",
- "message": "Your document was successfully finalized"
}This segment outlines various requests that users can execute to effectively manage their SMS interactions within the Biziq platform.
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:
| 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 |
{- "message": "Hi.",
- "mobile_num": "9xxxxxxxx",
- "sender": "MyCompany"
}{- "response": "success",
- "message": "SMS sent successfully."
}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.
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:
| 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 |
{- "sender_name": "MyCompanySMS",
- "unlimited": false,
- "expire_on": "2025-12-31"
}{- "response": "success",
- "message": "Sender create successfully."
}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.
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:
| 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 |
| 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 |
{- "name": "Summer Promotion",
- "template": "Hi, enjoy summer promotion with us! Get 20% off on all products. Use code SUMMER20 at checkout."
}{- "response": "success",
- "message": "Template create successfully."
}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.
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:
| 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 |
{- "name": "Nome do Cliente",
- "mobile_number": "9xxxxxxxx",
- "mobile_code_contact": "55"
}{- "response": "success",
- "message": "Contact successfully created."
}