Invoice Templates
Overview
Invoice templates allow you to generate template files for invoice operations in SellerCenter. These templates provide structured CSV or XLSX files that make it easier to manage missing invoice access keys in bulk.
Invoice Templates Available:
- Missing Invoice Access Key: Generate templates for managing missing invoice access keys
Template generation can be either synchronous (returns file content directly) or asynchronous (returns export job information for background processing). Asynchronous templates are recommended for large invoice operations as they prevent timeout issues.
Get Missing Invoice Access Key Template
GET /v2/template/missing-invoice-access-key
Summary: Get missing invoices access key template
Description: Returns a missing invoices access key template. This endpoint returns the file content directly, providing you with a template for managing missing invoice access keys.
Note:
- The template file is returned directly in the response
- Contains missing invoice access key information
- Use this template to prepare bulk invoice access key operations
Authorization
BearerAuth OAuth 2.0 Bearer token authentication
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://loading/v2/template/missing-invoice-access-key""string"{
"title": "Unauthorized",
"status": 401,
"detail": "Authentication credentials were not provided or are invalid"
}{
"title": "Service Unavailable",
"status": 500,
"detail": "The service is temporarily unavailable. Please try again later."
}{
"title": "Service Unavailable Due to Maintenance Mode",
"status": 503,
"detail": "The service is currently under maintenance. Please try again later."
}Get Missing Invoice Access Key Template Async
GET /v2/template/missing-invoice-access-key-async
Summary: Get missing invoices access key template async
Description: Returns a missing invoices access key template. This endpoint creates a background job to generate the file asynchronously.
Note:
- The template file is generated asynchronously in the background
- Use the returned
exportItemIdoruuidto track export status - Recommended for large invoice operations to avoid timeout issues
Authorization
BearerAuth OAuth 2.0 Bearer token authentication
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://loading/v2/template/missing-invoice-access-key-async"{
"exportItemId": 852,
"uuid": "78838546-777e-47c8-ba09-43d49bb9efa5"
}{
"title": "Unauthorized",
"status": 401,
"detail": "Authentication credentials were not provided or are invalid"
}{
"title": "Service Unavailable",
"status": 500,
"detail": "The service is temporarily unavailable. Please try again later."
}{
"title": "Service Unavailable Due to Maintenance Mode",
"status": 503,
"detail": "The service is currently under maintenance. Please try again later."
}