---
title: "List e-invoice file templates"
method: GET
path: "/v1/einvoice/templates"
tags: ["E-Invoicing"]
---

# List e-invoice file templates

`GET /v1/einvoice/templates`

Lists information about e-invoice file templates.

You can query e-invoice file templates by conditions. For example, if your service provider is Sovos, you can use the following example URL to retrieve information about a list of e-invoice file templates for invoices in India:
`/v1/einvoice/templates?country=IN&documentType=Invoice&provider=Sovos`

**Note**: This operation is available only if you have the <a href="https://docs.zuora.com/en/zuora-billing/bill-your-customer/leverage-advanced-capabilities/e-invoicing/e-invoicing-overview" target="_blank">E-Invoicing</a> feature in **Early Adopter** phase enabled.

## Query parameters

- `country` string, required
- `documentType` 'Invoice' | 'CreditMemo' | 'DebitMemo', required
- `provider` string, required

## Headers

- `Accept-Encoding` string
- `Content-Encoding` string
- `Zuora-Track-Id` string
- `Zuora-Entity-Ids` string
- `Zuora-Org-Ids` string
- `Zuora-Version` string

## Response `200`

OK

- ListEInvoiceFileTemplatesResponse
  - `success` boolean — Returns `true` if the request was processed successfully.
  - `templates` GetEInvoiceFileTemplateResponse[] — Container for e-invoice file emplates.
    - `content` string — The content of the e-invoice file template, which must be encoded in Base64 format.
    - `country` boolean — The short name of a country or region where you must comply with e-invoicing requirements. For example, `IN` for India. For the full list of country names and codes, see <a href="https://docs.zuora.com?resourceId=view-countries-or-regions" target="_blank">View countries or regions</a>.
    - `documentType` 'Invoice' | 'CreditMemo' | 'DebitMemo' — The type of billing document for which the e-invoice file template is intended.
    - `id` string — The unique ID of the e-invoice file template.
    - `name` string — The name of the e-invoice file template.
    - `provider` 'Sovos' — The name of the e-invoicing service provider that assists in generating e-invoice files for billing documents.
    - `templateNumber` string — The unique number of the e-invoice file template.

## Other responses

- `500` — Internal Server Error
- `4XX` — Request Errors

---

[API](https://skmtc.dev/zuora/apis/api-reference.md) · [All operations](https://skmtc.dev/zuora/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zuora/api-reference/revisions/d11e237f3e54/schema)
