Mexico - Archiving
For archiving and to facilitate access to external parties.
Invoice
Changes to generic fields
This route operates with a slightly narrower data model, and include the following required fields:
refissuedrecipient.taxIdrecipient.nametotal.amountlines[].descriptionlines[].quantitylines[].price.amountlines[].vat.amountlines[].vat.typelines[].vat.coderouteAsattachments
type Invoice {
// Subset of generic fields
ref: string;
issued: string;
recipient: {
taxId: string;
name: string;
};
total: {
amount: number;
};
lines: {
description: string;
quantity: number;
price: {
amount: number;
};
vat: {
amount: number;
type: string;
code: string;
};
}[];
attachments?: Attachment[];
};
type Attachment {
name: string;
contentType: 'application/pdf' | 'image/png' | 'image/jpeg' | 'text/csv' |
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' |
'application/vnd.oasis.opendocument.spreadsheet' ;
data: string;
};Field information
Name | Type | Required | Description |
|---|---|---|---|
| Object Array | No | An array of attachment objects |
| string | Yes | File Name |
| string | Yes | File MIME type. Allowed values include: |
| string | Yes | Base64 encoded file content with a maximum size of 1MB |
Updated about 13 hours ago