---
title: "Retrieve a mandate for downloading a credit memo"
method: GET
path: "/v1/credit-memos/{creditMemoKey}/e-invoice/mandate"
tags: ["E-Invoicing"]
---

# Retrieve a mandate for downloading a credit memo

`GET /v1/credit-memos/{creditMemoKey}/e-invoice/mandate`

## Request

- Base URL: `https://rest.test.zuora.com`
- URL: `https://rest.test.zuora.com/v1/credit-memos/{creditMemoKey}/e-invoice/mandate`
- Auth: HTTP bearer

Fetches mandates for downloading a Credit Memo file based on the country code, category, and process type selection. 

**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 for Avalara in **Early Availabiltiy** phase enabled.

## Path parameters

- `creditMemoKey` 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

- CreditMemosEinvoiceMandate
  - `success` GETEinvoiceCreditMemosMandate[]: Container for fetching mandates.
    - `countryCode` string: 2-digit country code.
    - `fileFormats` string[]: Following mapping will be used for user representation of file formats: - XML: `application/xml` - PDF: `application/pdf` - ZIP: `application/zip` - OASIS_Universal_Business_Language_XML: `application/vnd.oasis.ubl+xml`
    - `category` 'B2B' | 'B2C' | 'B2G': Business categories that Zuora supports for customer accounts. Supported values are B2B, B2C, or B2G.
    - `processType` 'Clearance' | 'ClearanceWithCancellation' | 'PEPPOLNetwork' | 'Unknown': The process type of the e-invoicing business region. - If the service provider is Sovos, the process type is `Clearance` or `ClearanceWithCancellation`. - If the service provider is Avalara, the process type is `Clearance` or `PEPPOLNetwork`. - If the service provider is PEPPOL, the process type is `Unknown`.
    - `defaultFileFormats` string: The default file format.
  - `error` GETEinvoiceCreditMemosMandatesErrors[]: Container for fetching validation errors.
    - `success` boolean: Returns `false` if the request was not processed successfully.
    - `processId` string: Process Id of the validation error.
    - `reasons` GETEinvoiceCreditMemosMandatesErrorsReasons[]: Container for error reasons.
      - `code` string: Code for the validation error.
      - `message` string: Validation error message.
    - `requestId` string: Request Id for the validation error.

## 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.dev/zuora/apis/api-reference/revisions/2deecb0dd041?raw)
