Ir al contenido

API de comprobantes recibidos

List received documents

GET
/v1/ec/received-documents

The documents addressed to your key's business in its environment, from newest to oldest: what its suppliers invoiced and the withholdings its customers issued to it, whichever way they arrived. Never in the recipient portal.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

Query Parameters

limit?integer

How many per page, from 1 to 100.

Range1 <= value <= 100
Default20
cursor?string

The next_cursor or prev_cursor of a previous response. Without a cursor, the first page.

Lengthlength <= 200
type?|array<>

Only this family; repeat it for several.

access_key?string

The one with these 49 digits.

Match^\d{49}$
issue_date[gte]?string

Only what was issued on or after this day.

Formatdate
issue_date[lte]?string

Only what was issued on or before this day.

Formatdate
verification?|array<>
xml_status?|array<>
needs_review?string

true: only what waits for a person (no XML yet, or unconfirmed); false: only what doesn't.

Value in"true""false"
counterparty_identification?string

Only what this supplier's RUC issued.

Match^\d{13}$
q?string

Words of the issuer's name or of the document number, or the start of the issuer's RUC; each word must be found.

Length1 <= length <= 100
updated_at[gte]?string

Only what changed at or after this moment, ISO 8601 with its offset: poll with the time of your last read to get what changed since.

Formatdate-time
created_at[gte]?string

Only what was created at or after this moment, ISO 8601 with its offset.

Formatdate-time
created_at[lte]?string

Only what was created at or before this moment, ISO 8601 with its offset.

Formatdate-time
updated_at[lte]?string

Only what last changed at or before this moment, ISO 8601 with its offset.

Formatdate-time

Response Body

A page of received documents

application/json
  1. response
object*"list"
Value in"list"
data*array<|||||>
next_cursor*|

The next page (older); null if there are no more.

prev_cursor*|

The previous page (newer); null on the first.

Example Request
curl -X GET 'https://api-sandbox.fiscalbase.io/v1/ec/received-documents'
Example Response
{
  "object": "list",
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "object": "received_document",
      "environment": "sandbox",
      "country": "ec",
      "currency": "string",
      "business_id": "f59fcbb7-848d-4242-af07-a8bb7e3ab37c",
      "access_key": "stringstringstringstringstringstringstringstrings",
      "number": "string",
      "issue_date": "2019-08-24",
      "issuer": {
        "ruc": "string",
        "name": "string",
        "trade_name": "string",
        "regime": "general",
        "special_taxpayer": true
      },
      "buyer": {
        "identification_type": "ruc",
        "identification": "string",
        "name": "string",
        "address": "string",
        "email": "string"
      },
      "authorization": {
        "number": "string",
        "authorized_at": "2019-08-24T14:15:22Z"
      },
      "sri_status": "authorized",
      "verification": "sri",
      "xml_status": "available",
      "sources": [
        "report"
      ],
      "subtotal": "string",
      "taxes": [
        {
          "type": "iva",
          "rate": "iva_15",
          "base": "string",
          "value": "string",
          "additional_discount": "string",
          "refund": "string"
        }
      ],
      "total": "string",
      "payments": [
        {
          "method": "sin_sistema_financiero",
          "amount": "string",
          "term": {
            "length": 0,
            "unit": "days"
          }
        }
      ],
      "tax_support": "10",
      "payment_method": "sin_sistema_financiero",
      "description": "string",
      "withholding": {
        "object": "document",
        "type": "withholding",
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "number": "string"
      },
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "type": "invoice",
      "document": {
        "lines": [
          {
            "code": "string",
            "auxiliary_code": "string",
            "description": "string",
            "unit": "string",
            "quantity": "string",
            "unit_price": "string",
            "discount": "string",
            "net": "string",
            "taxes": [
              {
                "type": "iva",
                "rate": "iva_15",
                "base": "string",
                "value": "string"
              }
            ],
            "additional_info": [
              {
                "name": "string",
                "value": "string"
              }
            ],
            "unsubsidized_price": "string"
          }
        ],
        "taxes": [
          {
            "type": "iva",
            "rate": "iva_15",
            "base": "string",
            "value": "string",
            "additional_discount": "string",
            "refund": "string"
          }
        ],
        "subtotal": "string",
        "discount": "string",
        "iva": "string",
        "ice": "string",
        "irbpnr": "string",
        "total": "string",
        "subsidy": "string",
        "tip": "string",
        "issue_date": "2019-08-24",
        "buyer": {
          "identification_type": "ruc",
          "identification": "string",
          "name": "string",
          "address": "string",
          "email": "string"
        },
        "payments": [
          {
            "method": "sin_sistema_financiero",
            "amount": "string",
            "term": {
              "length": 0,
              "unit": "days"
            }
          }
        ],
        "plate": "string",
        "delivery_note_number": "string",
        "export": {
          "incoterm": "string",
          "incoterm_place": "string",
          "origin_country": "string",
          "loading_port": "string",
          "destination_port": "string",
          "destination_country": "string",
          "acquisition_country": "string",
          "subtotal_incoterm": "string",
          "international_freight": "string",
          "international_insurance": "string",
          "customs_costs": "string",
          "other_transport_costs": "string"
        },
        "reimbursement": {
          "document_type": "factura",
          "total": "string",
          "base": "string",
          "tax": "string",
          "documents": [
            {
              "supplier": {
                "identification_type": "ruc",
                "identification": "string"
              },
              "supplier_type": "persona_natural",
              "payment_country": "string",
              "document_type": "factura",
              "number": "string",
              "issue_date": "2019-08-24",
              "authorization_number": "string",
              "taxes": [
                {
                  "type": "iva",
                  "rate": "iva_15",
                  "base": "string",
                  "value": "string"
                }
              ],
              "compensations": [
                {
                  "code": "string",
                  "rate": "string",
                  "value": "string"
                }
              ]
            }
          ]
        },
        "withholdings": [
          {
            "type": "iva_100",
            "value": "string"
          }
        ],
        "withheld_iva": "string",
        "withheld_renta": "string",
        "substitute_delivery_note": {
          "origin_address": "string",
          "destination_address": "string",
          "transport_start": "string",
          "transport_end": "string",
          "carrier": {
            "identification_type": "ruc",
            "identification": "string",
            "name": "string"
          },
          "plate": "string",
          "destinations": [
            {
              "reason": "string",
              "customs_document": "string",
              "destination_establishment": "string",
              "route": "string"
            }
          ]
        },
        "third_party_charges": [
          {
            "concept": "string",
            "amount": "string"
          }
        ],
        "negotiable": {
          "notification_email": "string"
        },
        "compensations": [
          {
            "code": "string",
            "rate": "string",
            "value": "string"
          }
        ],
        "fiscal_machine": {
          "brand": "string",
          "model": "string",
          "serial": "string"
        },
        "additional_info": [
          {
            "name": "string",
            "value": "string"
          }
        ]
      }
    }
  ],
  "next_cursor": "string",
  "prev_cursor": "string"
}

Retrieve a received document

GET
/v1/ec/received-documents/{id}

One of your received documents, as stored. To read an invoice from the SRI without storing it, GET /v1/ec/sri/invoices/{access_key}.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

Path Parameters

id*string
Formatuuid

Response Body

The received document

application/json
  1. response
id*string
Formatuuid
object*"received_document"
Value in"received_document"
environment*string
Value in"sandbox""live"
country*"ec"

The country, as its lowercase ISO 3166-1 alpha-2 code, the same as in the path (/v1/ec/…). New countries may appear.

Value in"ec"
currency*string

The currency of the amounts, as its ISO 4217 code. New currencies may appear.

Match^[A-Z]{3}$
business_id*string
Formatuuid
access_key*string
Length49 <= length <= 49
number*string
issue_date*string
Formatdate
issuer*

Who issued it: your supplier, or your customer for a withholding.

buyer*|

Whom it is addressed to, as the document names them; null until the XML is here.

authorization*|null
sri_status*string

What the SRI last said: authorized, annulment_pending (its issuer asked to annul it and the receiver hasn't accepted; still valid) or annulled.

Value in"authorized""annulment_pending""annulled"
verification*string

How much it is proven, as for imports: sri, listed (an SRI report names it), signature (an AUTORIZADO wrapper) or unconfirmed (only its issuer's signature).

Value in"sri""listed""signature""unconfirmed"
xml_status*string

available; pending while the SRI is asked; missing when the SRI didn't give it in reach (only its issuer can send it); out_of_window when a report named it past the SRI's 60 days.

Value in"available""pending""missing""out_of_window"
sources*array<>

Every way it arrived: key, report, xml, email.

subtotal*string|null
taxes*array<||>
total*string|null
payments*array<>
tax_support*|

Why your business books it (codSustento, ATS tabla 5), as you stated it; null until you do. The ATS takes it, or else the one of the withholding you issued over it.

Value in"10""11""12""13""14""15""01""02""03""04""05""06""07""08""09"null
payment_method*|

How it was paid, as you stated it; the ATS writes it over every method its XML names. Null until you do.

Value in"sin_sistema_financiero""compensacion_deudas""tarjeta_debito""dinero_electronico""tarjeta_prepago""tarjeta_credito""otros_sistema_financiero""endoso_titulos"null
description*|

The description of its first line.

withholding*|

The withholding your business issued over it: the latest authorized one that names it among its support documents. Null while none does, or once that one is annulled.

created_at*string
Formatdate-time
updated_at*string
Formatdate-time
type*"invoice"

The family, as the issuing API names it.

Value in"invoice"
document*|

The invoice read from its XML, in the shape the issuing API returns it; null until the XML is here.

Example Request
curl -X GET 'https://api-sandbox.fiscalbase.io/v1/ec/received-documents/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{
  "id": "01a21860-6739-7841-9440-9c945add1136",
  "object": "received_document",
  "type": "invoice",
  "environment": "sandbox",
  "country": "ec",
  "currency": "USD",
  "business_id": "01a21860-66d5-7966-b23f-f23170b3c8df",
  "access_key": "7777777777777777777777777777777777777777777777777",
  "number": "001-001-000000007",
  "issue_date": "2026-11-26",
  "issuer": {
    "ruc": "1790012345001",
    "name": "COMERCIAL RIVERA S.A.",
    "trade_name": null,
    "regime": "general",
    "special_taxpayer": false
  },
  "buyer": {
    "identification_type": "ruc",
    "identification": "1790012345001",
    "name": "FERRETERÍA EL SOL S.A.",
    "address": "Av. 10 de Agosto N21-44, Quito",
    "email": "compras@elsol.ec"
  },
  "authorization": null,
  "sri_status": "authorized",
  "verification": "signature",
  "xml_status": "available",
  "sources": [
    "xml"
  ],
  "subtotal": "249.00",
  "taxes": [
    {
      "type": "iva",
      "rate": "iva_15",
      "base": "240.00",
      "value": "36.00",
      "additional_discount": null,
      "refund": null
    },
    {
      "type": "iva",
      "rate": "iva_0",
      "base": "9.00",
      "value": "0.00",
      "additional_discount": null,
      "refund": null
    }
  ],
  "total": "285.00",
  "payments": [
    {
      "method": "tarjeta_credito",
      "amount": "285.00",
      "term": {
        "length": 30,
        "unit": "days"
      }
    }
  ],
  "tax_support": null,
  "payment_method": null,
  "description": null,
  "document": {
    "ice": "0.00",
    "iva": "36.00",
    "tip": "0.00",
    "buyer": {
      "name": "FERRETERÍA EL SOL S.A.",
      "email": "compras@elsol.ec",
      "address": "Av. 10 de Agosto N21-44, Quito",
      "identification": "1790012345001",
      "identification_type": "ruc"
    },
    "lines": [
      {
        "net": "240.00",
        "code": "SKU-1",
        "unit": null,
        "taxes": [
          {
            "base": "240.00",
            "rate": "iva_15",
            "type": "iva",
            "value": "36.00"
          }
        ],
        "discount": "0.00",
        "quantity": "2",
        "unit_price": "120",
        "description": "Taladro percutor",
        "auxiliary_code": null,
        "additional_info": [],
        "unsubsidized_price": null
      },
      {
        "net": "9.00",
        "code": "SKU-1",
        "unit": null,
        "taxes": [
          {
            "base": "9.00",
            "rate": "iva_0",
            "type": "iva",
            "value": "0.00"
          }
        ],
        "discount": "0.00",
        "quantity": "2",
        "unit_price": "4.5",
        "description": "Guantes",
        "auxiliary_code": null,
        "additional_info": [],
        "unsubsidized_price": null
      }
    ],
    "plate": null,
    "taxes": [
      {
        "base": "240.00",
        "rate": "iva_15",
        "type": "iva",
        "value": "36.00",
        "refund": null,
        "additional_discount": null
      },
      {
        "base": "9.00",
        "rate": "iva_0",
        "type": "iva",
        "value": "0.00",
        "refund": null,
        "additional_discount": null
      }
    ],
    "total": "285.00",
    "export": null,
    "irbpnr": "0.00",
    "subsidy": null,
    "discount": "0.00",
    "payments": [
      {
        "term": {
          "unit": "days",
          "length": 30
        },
        "amount": "285.00",
        "method": "tarjeta_credito"
      }
    ],
    "subtotal": "249.00",
    "issue_date": "2026-11-26",
    "negotiable": null,
    "withheld_iva": null,
    "withholdings": [],
    "compensations": [],
    "reimbursement": null,
    "fiscal_machine": null,
    "withheld_renta": null,
    "additional_info": [
      {
        "name": "Orden de compra",
        "value": "OC-1041"
      }
    ],
    "third_party_charges": [],
    "delivery_note_number": null,
    "substitute_delivery_note": null
  },
  "withholding": null,
  "created_at": "2026-11-26T15:01:40.793Z",
  "updated_at": "2026-11-26T15:01:40.793Z"
}
PATCH
/v1/ec/received-documents/{id}

What the XML doesn't say and the ATS needs: why your business books it (tax_support) and, when its XML names no payment method or a withdrawn one, how it was paid (payment_method). Only what you send changes; received_document.updated says what did.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
tax_support?|

Why your business books it (ATS tabla 5): 01 for goods or services that give IVA credit, 02 for an expense without it, and the rest of the table. null clears it.

Value in"10""11""12""13""14""15""01""02""03""04""05""06""07""08""09"null
payment_method?|

How it was paid (tabla 24), when its XML says none or a withdrawn one. null clears it.

Value in"sin_sistema_financiero""compensacion_deudas""tarjeta_debito""dinero_electronico""tarjeta_prepago""tarjeta_credito""otros_sistema_financiero""endoso_titulos"null

Response Body

The received document

application/json
  1. response
id*string
Formatuuid
object*"received_document"
Value in"received_document"
environment*string
Value in"sandbox""live"
country*"ec"

The country, as its lowercase ISO 3166-1 alpha-2 code, the same as in the path (/v1/ec/…). New countries may appear.

Value in"ec"
currency*string

The currency of the amounts, as its ISO 4217 code. New currencies may appear.

Match^[A-Z]{3}$
business_id*string
Formatuuid
access_key*string
Length49 <= length <= 49
number*string
issue_date*string
Formatdate
issuer*

Who issued it: your supplier, or your customer for a withholding.

buyer*|

Whom it is addressed to, as the document names them; null until the XML is here.

authorization*|null
sri_status*string

What the SRI last said: authorized, annulment_pending (its issuer asked to annul it and the receiver hasn't accepted; still valid) or annulled.

Value in"authorized""annulment_pending""annulled"
verification*string

How much it is proven, as for imports: sri, listed (an SRI report names it), signature (an AUTORIZADO wrapper) or unconfirmed (only its issuer's signature).

Value in"sri""listed""signature""unconfirmed"
xml_status*string

available; pending while the SRI is asked; missing when the SRI didn't give it in reach (only its issuer can send it); out_of_window when a report named it past the SRI's 60 days.

Value in"available""pending""missing""out_of_window"
sources*array<>

Every way it arrived: key, report, xml, email.

subtotal*string|null
taxes*array<||>
total*string|null
payments*array<>
tax_support*|

Why your business books it (codSustento, ATS tabla 5), as you stated it; null until you do. The ATS takes it, or else the one of the withholding you issued over it.

Value in"10""11""12""13""14""15""01""02""03""04""05""06""07""08""09"null
payment_method*|

How it was paid, as you stated it; the ATS writes it over every method its XML names. Null until you do.

Value in"sin_sistema_financiero""compensacion_deudas""tarjeta_debito""dinero_electronico""tarjeta_prepago""tarjeta_credito""otros_sistema_financiero""endoso_titulos"null
description*|

The description of its first line.

withholding*|

The withholding your business issued over it: the latest authorized one that names it among its support documents. Null while none does, or once that one is annulled.

created_at*string
Formatdate-time
updated_at*string
Formatdate-time
type*"invoice"

The family, as the issuing API names it.

Value in"invoice"
document*|

The invoice read from its XML, in the shape the issuing API returns it; null until the XML is here.

Example Request
curl -X PATCH 'https://api-sandbox.fiscalbase.io/v1/ec/received-documents/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Content-Type: application/json' \
  -d '{
  "tax_support": "01"
}'
Example Response
{
  "id": "01a21860-608d-7d14-8105-6e778ba5d013",
  "object": "received_document",
  "type": "invoice",
  "environment": "live",
  "country": "ec",
  "currency": "USD",
  "business_id": "01a21860-6039-7375-a01f-e057cb8a52cc",
  "access_key": "2611202601179001234500120010012044264956578545016",
  "number": "001-001-204426495",
  "issue_date": "2026-11-26",
  "issuer": {
    "ruc": "1790012345001",
    "name": "ANDINA COMERCIAL (2024) S.A.",
    "trade_name": "Andina",
    "regime": "general",
    "special_taxpayer": false
  },
  "buyer": {
    "identification_type": "ruc",
    "identification": "1792146739001",
    "name": "ANDINA COMERCIAL S.A.",
    "address": "Quito",
    "email": "compras@andina.ec"
  },
  "authorization": {
    "number": "2611202601179001234500120010012044264956578545016",
    "authorized_at": "2026-11-26T15:01:43.000Z"
  },
  "sri_status": "authorized",
  "verification": "sri",
  "xml_status": "available",
  "sources": [
    "report"
  ],
  "subtotal": "430.00",
  "taxes": [
    {
      "type": "iva",
      "rate": "iva_15",
      "base": "430.00",
      "value": "64.50",
      "additional_discount": null,
      "refund": null
    }
  ],
  "total": "537.50",
  "payments": [
    {
      "method": "tarjeta_credito",
      "amount": "537.50",
      "term": null
    }
  ],
  "tax_support": "01",
  "payment_method": null,
  "description": "Banquete",
  "document": {
    "ice": "0.00",
    "iva": "64.50",
    "tip": "43.00",
    "buyer": {
      "name": "ANDINA COMERCIAL S.A.",
      "email": "compras@andina.ec",
      "address": "Quito",
      "identification": "1792146739001",
      "identification_type": "ruc"
    },
    "lines": [
      {
        "net": "430.00",
        "code": null,
        "unit": null,
        "taxes": [
          {
            "base": "430.00",
            "rate": "iva_15",
            "type": "iva",
            "value": "64.50"
          }
        ],
        "discount": "0.00",
        "quantity": "1",
        "unit_price": "430",
        "description": "Banquete",
        "auxiliary_code": null,
        "additional_info": [],
        "unsubsidized_price": null
      }
    ],
    "plate": null,
    "taxes": [
      {
        "base": "430.00",
        "rate": "iva_15",
        "type": "iva",
        "value": "64.50",
        "refund": null,
        "additional_discount": null
      }
    ],
    "total": "537.50",
    "export": null,
    "irbpnr": "0.00",
    "subsidy": null,
    "discount": "0.00",
    "payments": [
      {
        "term": null,
        "amount": "537.50",
        "method": "tarjeta_credito"
      }
    ],
    "subtotal": "430.00",
    "issue_date": "2026-11-26",
    "negotiable": null,
    "withheld_iva": null,
    "withholdings": [],
    "compensations": [],
    "reimbursement": null,
    "fiscal_machine": null,
    "withheld_renta": null,
    "additional_info": [
      {
        "name": "Orden de compra",
        "value": "OC-1041"
      }
    ],
    "third_party_charges": [],
    "delivery_note_number": null,
    "substitute_delivery_note": null
  },
  "withholding": null,
  "created_at": "2026-11-26T15:01:39.101Z",
  "updated_at": "2026-11-26T15:01:39.120Z"
}

Download a received document's XML

GET
/v1/ec/received-documents/{id}/xml

The SRI autorizacion with the signed document inside, as stored. 409 when its XML never arrived (listed only by a report, or out of the SRI's window).

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

Path Parameters

id*string
Formatuuid

Response Body

The file

response?fileapplication/xml
Formatbinary
Example Request
curl -X GET 'https://api-sandbox.fiscalbase.io/v1/ec/received-documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/xml'
Example Response
"string"

Read an invoice from the SRI

GET
/v1/ec/sri/invoices/{access_key}

Asks the SRI for an invoice addressed to anyone, including one whose annulment is pending, and reads it without storing it: enough to issue a withholding on it. A test key asks the SRI's testing service and a live key its real one; the access key must belong to the same environment. The SRI only answers for documents from the last 60 days. sandbox never asks it: its SRI simulator answers for the Sandbox business's received invoices (keyed ambiente 1), and any other key is not found. An answer may be kept for a minute (Cache-Control). To keep a document in your records, upload its XML or the SRI's report with POST /v1/ec/imports.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, which acts for the one business it was created for: fb_live_… keys work at api.fiscalbase.io and issue in live, and fb_sandbox_… keys work at api-sandbox.fiscalbase.io and issue in sandbox, on the simulated SRI. A key sent to the other host is refused with api_key_wrong_host, which names its host.

Path Parameters

access_key*string

The 49 digits of the access key.

Match^\d{49}$

Response Body

The invoice the SRI holds

application/json
  1. response
object*"sri_invoice"
Value in"sri_invoice"
environment*string

Who answered: the SRI's test service, its live one, with tax validity, or sandbox's SRI simulator, which holds the Sandbox business's received invoices.

Value in"sandbox""test""live"
access_key*string
Length49 <= length <= 49
number*string
issue_date*string
Formatdate
issuer*
buyer*
issued_to_you*boolean

true if the invoice is addressed to your key's business.

authorization*
sri_status*string

annulment_pending when its issuer asked to annul it and the receiver hasn't accepted; it is still valid.

Value in"authorized""annulment_pending"
currency*string

The ISO 4217 code of its amounts' currency.

subtotal*string
taxes*array<||>
total*string
payments*array<>
description*|

The description of its first line.

Example Request
curl -X GET 'https://api-sandbox.fiscalbase.io/v1/ec/sri/invoices/string'
Example Response
{
  "object": "sri_invoice",
  "environment": "test",
  "access_key": "2611202601179408784900110010010005216011234567818",
  "number": "001-001-000521601",
  "issue_date": "2026-11-26",
  "issuer": {
    "ruc": "1794087849001",
    "name": "TRANSPORTES ANDES CÍA. LTDA.",
    "trade_name": null
  },
  "buyer": {
    "identification_type": "ruc",
    "identification": "1792146739001",
    "name": "COMERCIAL ANDINA S.A.",
    "address": null,
    "email": "compras@andina.ec"
  },
  "issued_to_you": true,
  "authorization": {
    "number": "2611202601179408784900110010010005216011234567818",
    "authorized_at": "2026-09-20T15:15:30.000Z"
  },
  "sri_status": "authorized",
  "currency": "USD",
  "subtotal": "771.20",
  "taxes": [
    {
      "type": "iva",
      "rate": "iva_15",
      "base": "771.20",
      "value": "115.68",
      "additional_discount": null,
      "refund": null
    }
  ],
  "total": "886.88",
  "payments": [
    {
      "method": "sin_sistema_financiero",
      "amount": "886.88",
      "term": null
    }
  ],
  "description": "Llantas y repuestos"
}