Business
Retrieve a certification Invoice
const url = 'https://api.timbro.do/v1/business/certification/invoices/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.timbro.do/v1/business/certification/invoices/example \ --header 'Authorization: Bearer <token>'Authentication
Section titled “Authentication”Parameters
Section titled “Parameters”Path parameters
Section titled “Path parameters”Responses
Section titled “Responses”Default Response
Response fields and codes
object
object
object
object
object
object
object
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
Terminal lifecycle outcomes that can make buyer delivery permanently unavailable.
object
object
DGII execution environment selected before lifecycle admission.
Stable semantic kind for a cross-document fiscal relationship.
object
DGII execution environment selected before lifecycle admission.
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Whether a Source line describes a good or a service.
object
object
object
object
object
A DGII e-CF unit of measure: a readable lowercase name on the Source and Invoice wire, the official numeric catalog code in fiscal documents.
object
object
One payment method and its amount, in DOP whatever the Invoice’s currency. The allocations
sum to the DOP total.
object
Named payment methods whose official codes are owned by fiscal-document.
object
A calendar date in the public API’s ISO 8601 date form.
object
object
object
object
DGII execution environment selected before lifecycle admission.
The predecessor retained when this Invoice replaced a rejected or closed Source operation.
object
object
An Invoice’s totals in the currency it is priced in. total equals the price total.
object
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
Terminal lifecycle outcomes that can make buyer delivery permanently unavailable.
object
object
DGII execution environment selected before lifecycle admission.
Stable semantic kind for a cross-document fiscal relationship.
object
DGII execution environment selected before lifecycle admission.
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
object
The signature facts DGII requires on every printed e-CF, read from the signed document.
Print the buyer’s copy after DGII accepts the Invoice; DGII sequences the printed e-CF after its validation result, including the Type 32 below DOP 250,000 it validates by RFCE summary.
object
The first six characters of the signature value, printed below the QR code.
The exact FechaHoraFirma instant as RFC 3339 in DGII’s fixed GMT-4, so its date and
time read as the printed dd-MM-aaaa HH:mm:ss.
The DGII consultation URL the printed QR code encodes.
object
object
object
object
object
Whether a Source line describes a good or a service.
object
object
object
object
object
A DGII e-CF unit of measure: a readable lowercase name on the Source and Invoice wire, the official numeric catalog code in fiscal documents.
object
object
One payment method and its amount, in DOP whatever the Invoice’s currency. The allocations
sum to the DOP total.
object
Named payment methods whose official codes are owned by fiscal-document.
object
A calendar date in the public API’s ISO 8601 date form.
object
object
object
object
DGII execution environment selected before lifecycle admission.
The predecessor retained when this Invoice replaced a rejected or closed Source operation.
object
object
An Invoice’s totals in the currency it is priced in. total equals the price total.
object
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
Terminal lifecycle outcomes that can make buyer delivery permanently unavailable.
object
object
DGII execution environment selected before lifecycle admission.
Stable semantic kind for a cross-document fiscal relationship.
object
DGII execution environment selected before lifecycle admission.
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
object
The signature facts DGII requires on every printed e-CF, read from the signed document.
Print the buyer’s copy after DGII accepts the Invoice; DGII sequences the printed e-CF after its validation result, including the Type 32 below DOP 250,000 it validates by RFCE summary.
object
The first six characters of the signature value, printed below the QR code.
The exact FechaHoraFirma instant as RFC 3339 in DGII’s fixed GMT-4, so its date and
time read as the printed dd-MM-aaaa HH:mm:ss.
The DGII consultation URL the printed QR code encodes.
object
object
object
object
object
Whether a Source line describes a good or a service.
object
object
object
object
object
A DGII e-CF unit of measure: a readable lowercase name on the Source and Invoice wire, the official numeric catalog code in fiscal documents.
object
object
One payment method and its amount, in DOP whatever the Invoice’s currency. The allocations
sum to the DOP total.
object
Named payment methods whose official codes are owned by fiscal-document.
object
A calendar date in the public API’s ISO 8601 date form.
object
object
object
object
DGII execution environment selected before lifecycle admission.
The predecessor retained when this Invoice replaced a rejected or closed Source operation.
object
object
An Invoice’s totals in the currency it is priced in. total equals the price total.
object
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
Terminal lifecycle outcomes that can make buyer delivery permanently unavailable.
object
object
DGII execution environment selected before lifecycle admission.
Stable semantic kind for a cross-document fiscal relationship.
object
DGII execution environment selected before lifecycle admission.
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
object
The signature facts DGII requires on every printed e-CF, read from the signed document.
Print the buyer’s copy after DGII accepts the Invoice; DGII sequences the printed e-CF after its validation result, including the Type 32 below DOP 250,000 it validates by RFCE summary.
object
The first six characters of the signature value, printed below the QR code.
The exact FechaHoraFirma instant as RFC 3339 in DGII’s fixed GMT-4, so its date and
time read as the printed dd-MM-aaaa HH:mm:ss.
The DGII consultation URL the printed QR code encodes.
object
object
object
object
object
Whether a Source line describes a good or a service.
object
object
object
object
object
A DGII e-CF unit of measure: a readable lowercase name on the Source and Invoice wire, the official numeric catalog code in fiscal documents.
object
object
One payment method and its amount, in DOP whatever the Invoice’s currency. The allocations
sum to the DOP total.
object
Named payment methods whose official codes are owned by fiscal-document.
object
A calendar date in the public API’s ISO 8601 date form.
object
object
object
object
DGII execution environment selected before lifecycle admission.
The predecessor retained when this Invoice replaced a rejected or closed Source operation.
object
object
An Invoice’s totals in the currency it is priced in. total equals the price total.
object
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
Terminal lifecycle outcomes that can make buyer delivery permanently unavailable.
object
object
DGII execution environment selected before lifecycle admission.
Stable semantic kind for a cross-document fiscal relationship.
object
DGII execution environment selected before lifecycle admission.
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
object
The signature facts DGII requires on every printed e-CF, read from the signed document.
Print the buyer’s copy after DGII accepts the Invoice; DGII sequences the printed e-CF after its validation result, including the Type 32 below DOP 250,000 it validates by RFCE summary.
object
The first six characters of the signature value, printed below the QR code.
The exact FechaHoraFirma instant as RFC 3339 in DGII’s fixed GMT-4, so its date and
time read as the printed dd-MM-aaaa HH:mm:ss.
The DGII consultation URL the printed QR code encodes.
object
object
object
object
object
Whether a Source line describes a good or a service.
object
object
object
object
object
A DGII e-CF unit of measure: a readable lowercase name on the Source and Invoice wire, the official numeric catalog code in fiscal documents.
object
object
One payment method and its amount, in DOP whatever the Invoice’s currency. The allocations
sum to the DOP total.
object
Named payment methods whose official codes are owned by fiscal-document.
object
A calendar date in the public API’s ISO 8601 date form.
object
object
object
object
DGII execution environment selected before lifecycle admission.
The predecessor retained when this Invoice replaced a rejected or closed Source operation.
object
object
An Invoice’s totals in the currency it is priced in. total equals the price total.
object
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
Terminal lifecycle outcomes that can make buyer delivery permanently unavailable.
object
object
DGII execution environment selected before lifecycle admission.
Stable semantic kind for a cross-document fiscal relationship.
object
DGII execution environment selected before lifecycle admission.
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
object
The signature facts DGII requires on every printed e-CF, read from the signed document.
Print the buyer’s copy after DGII accepts the Invoice; DGII sequences the printed e-CF after its validation result, including the Type 32 below DOP 250,000 it validates by RFCE summary.
object
The first six characters of the signature value, printed below the QR code.
The exact FechaHoraFirma instant as RFC 3339 in DGII’s fixed GMT-4, so its date and
time read as the printed dd-MM-aaaa HH:mm:ss.
The DGII consultation URL the printed QR code encodes.
object
object
object
object
object
Whether a Source line describes a good or a service.
object
object
object
object
object
A DGII e-CF unit of measure: a readable lowercase name on the Source and Invoice wire, the official numeric catalog code in fiscal documents.
object
object
One payment method and its amount, in DOP whatever the Invoice’s currency. The allocations
sum to the DOP total.
object
Named payment methods whose official codes are owned by fiscal-document.
object
A calendar date in the public API’s ISO 8601 date form.
object
object
object
object
DGII execution environment selected before lifecycle admission.
The predecessor retained when this Invoice replaced a rejected or closed Source operation.
object
object
An Invoice’s totals in the currency it is priced in. total equals the price total.
object
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
Terminal lifecycle outcomes that can make buyer delivery permanently unavailable.
object
object
DGII execution environment selected before lifecycle admission.
Stable semantic kind for a cross-document fiscal relationship.
object
DGII execution environment selected before lifecycle admission.
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
object
The signature facts DGII requires on every printed e-CF, read from the signed document.
Print the buyer’s copy after DGII accepts the Invoice; DGII sequences the printed e-CF after its validation result, including the Type 32 below DOP 250,000 it validates by RFCE summary.
object
The first six characters of the signature value, printed below the QR code.
The exact FechaHoraFirma instant as RFC 3339 in DGII’s fixed GMT-4, so its date and
time read as the printed dd-MM-aaaa HH:mm:ss.
The DGII consultation URL the printed QR code encodes.
object
object
object
object
object
Whether a Source line describes a good or a service.
object
object
object
object
object
A DGII e-CF unit of measure: a readable lowercase name on the Source and Invoice wire, the official numeric catalog code in fiscal documents.
object
object
One payment method and its amount, in DOP whatever the Invoice’s currency. The allocations
sum to the DOP total.
object
Named payment methods whose official codes are owned by fiscal-document.
object
A calendar date in the public API’s ISO 8601 date form.
object
object
object
object
DGII execution environment selected before lifecycle admission.
The predecessor retained when this Invoice replaced a rejected or closed Source operation.
object
object
An Invoice’s totals in the currency it is priced in. total equals the price total.
object
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
An Organization administrator closed the Invoice before DGII received it. Its e-NCF stays retained for cancellation, and a replacement issues the sale under a new e-NCF.
object
object
object
object
object
object
object
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
object
Terminal lifecycle outcomes that can make buyer delivery permanently unavailable.
object
object
DGII execution environment selected before lifecycle admission.
Stable semantic kind for a cross-document fiscal relationship.
object
DGII execution environment selected before lifecycle admission.
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
object
object
object
object
object
object
object
object
object
The signature facts DGII requires on every printed e-CF, read from the signed document.
Print the buyer’s copy after DGII accepts the Invoice; DGII sequences the printed e-CF after its validation result, including the Type 32 below DOP 250,000 it validates by RFCE summary.
object
The first six characters of the signature value, printed below the QR code.
The exact FechaHoraFirma instant as RFC 3339 in DGII’s fixed GMT-4, so its date and
time read as the printed dd-MM-aaaa HH:mm:ss.
The DGII consultation URL the printed QR code encodes.
object
object
object
object
object
Whether a Source line describes a good or a service.
object
object
object
object
object
A DGII e-CF unit of measure: a readable lowercase name on the Source and Invoice wire, the official numeric catalog code in fiscal documents.
object
object
One payment method and its amount, in DOP whatever the Invoice’s currency. The allocations
sum to the DOP total.
object
Named payment methods whose official codes are owned by fiscal-document.
object
A calendar date in the public API’s ISO 8601 date form.
object
object
object
object
DGII execution environment selected before lifecycle admission.
The predecessor retained when this Invoice replaced a rejected or closed Source operation.
object
object
An Invoice’s totals in the currency it is priced in. total equals the price total.
object
The exchange rate of record: DOP per one unit of the Invoice’s currency.
object
Headers
Section titled “Headers”Identifies this request. Quote it when you contact support.
The request could not be understood.
Example
{ "type": "about:blank", "title": "The request could not be understood.", "status": 400, "code": "parameter_invalid", "requestId": "request_000000000000000000000001"}Response fields and codes
RFC 9457 problem details. Every failure of this API is one of these, and each operation narrows code to the subset it can emit.
object
Stable machine-readable code. Branch on this, never on title.
Optional fields
Present only when the rejected request produced a Fiscal operation.
Present only when the authoritative issuance rules refused to issue.
Present only when the rejection points at a value the request carried.
One stable public document problem retained for a rejected admission.
object
Headers
Section titled “Headers”Identifies this request. Quote it when you contact support.
The credential is missing, malformed, or no longer valid.
Example
{ "type": "about:blank", "title": "The credential is missing, malformed, or no longer valid.", "status": 401, "code": "api_key_missing", "requestId": "request_000000000000000000000001"}Response fields and codes
RFC 9457 problem details. Every failure of this API is one of these, and each operation narrows code to the subset it can emit.
object
Stable machine-readable code. Branch on this, never on title.
Optional fields
Present only when the rejected request produced a Fiscal operation.
Present only when the authoritative issuance rules refused to issue.
Present only when the rejection points at a value the request carried.
One stable public document problem retained for a rejected admission.
object
Headers
Section titled “Headers”Identifies this request. Quote it when you contact support.
The credential is valid but not permitted to perform this operation.
Example
{ "type": "about:blank", "title": "The credential is valid but not permitted to perform this operation.", "status": 403, "code": "operation_not_permitted", "requestId": "request_000000000000000000000001"}Response fields and codes
RFC 9457 problem details. Every failure of this API is one of these, and each operation narrows code to the subset it can emit.
object
Stable machine-readable code. Branch on this, never on title.
Optional fields
Present only when the rejected request produced a Fiscal operation.
Present only when the authoritative issuance rules refused to issue.
Present only when the rejection points at a value the request carried.
One stable public document problem retained for a rejected admission.
object
Headers
Section titled “Headers”Identifies this request. Quote it when you contact support.
No endpoint serves this method and path, or no resource with this identifier exists within the caller’s scope.
Example
{ "type": "about:blank", "title": "No endpoint serves this method and path, or no resource with this identifier exists within the caller's scope.", "status": 404, "code": "route_not_found", "requestId": "request_000000000000000000000001"}Response fields and codes
RFC 9457 problem details. Every failure of this API is one of these, and each operation narrows code to the subset it can emit.
object
Stable machine-readable code. Branch on this, never on title.
Optional fields
Present only when the rejected request produced a Fiscal operation.
Present only when the authoritative issuance rules refused to issue.
Present only when the rejection points at a value the request carried.
One stable public document problem retained for a rejected admission.
object
Headers
Section titled “Headers”Identifies this request. Quote it when you contact support.
The request conflicts with the current state of the resource or with a previous request using the same Idempotency-Key.
Example
{ "type": "about:blank", "title": "The request conflicts with the current state of the resource or with a previous request using the same Idempotency-Key.", "status": 409, "code": "webhook_endpoint_deleted", "requestId": "request_000000000000000000000001"}Response fields and codes
RFC 9457 problem details. Every failure of this API is one of these, and each operation narrows code to the subset it can emit.
object
Stable machine-readable code. Branch on this, never on title.
Optional fields
Present only when the rejected request produced a Fiscal operation.
Present only when the authoritative issuance rules refused to issue.
Present only when the rejection points at a value the request carried.
One stable public document problem retained for a rejected admission.
object
Headers
Section titled “Headers”Identifies this request. Quote it when you contact support.
The request could not complete. Recover by the retained resource reference or retry with the same command identity.
Example
{ "type": "about:blank", "title": "The request could not complete. Recover by the retained resource reference or retry with the same command identity.", "status": 500, "code": "internal_error", "requestId": "request_000000000000000000000001"}Response fields and codes
RFC 9457 problem details. Every failure of this API is one of these, and each operation narrows code to the subset it can emit.
object
Stable machine-readable code. Branch on this, never on title.
Optional fields
Present only when the rejected request produced a Fiscal operation.
Present only when the authoritative issuance rules refused to issue.
Present only when the rejection points at a value the request carried.
One stable public document problem retained for a rejected admission.
object
Headers
Section titled “Headers”Identifies this request. Quote it when you contact support.
A required service is temporarily unavailable. Retry with the same reference or command identity.
Example
{ "type": "about:blank", "title": "A required service is temporarily unavailable. Retry with the same reference or command identity.", "status": 503, "code": "business_fiscal_binding_unavailable", "requestId": "request_000000000000000000000001"}Response fields and codes
RFC 9457 problem details. Every failure of this API is one of these, and each operation narrows code to the subset it can emit.
object
Stable machine-readable code. Branch on this, never on title.
Optional fields
Present only when the rejected request produced a Fiscal operation.
Present only when the authoritative issuance rules refused to issue.
Present only when the rejection points at a value the request carried.
One stable public document problem retained for a rejected admission.
object
Headers
Section titled “Headers”Identifies this request. Quote it when you contact support.