Get Mexico CFDI invoice log
GET
Returns every Mexico sale in a from/to date range, newest first, with its CFDI stamp details (UUID, series, folio, status) and the customer's RFC. Fails if the merchant has no federal tax ID set.
BearerAuthheader
AuthorizationBearer <JWT>from*stringStart date (YYYY-MM-DD)
Format
dateto*stringEnd date (YYYY-MM-DD)
Format
dateX-TenantID*stringYour merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.
OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request worked, ERROR when it did not.
message*stringShort human-readable message describing the result, for logs or display; do not parse it.
data?array<>|One entry per Mexico sale in the date range, newest business date first.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/reports/tax/americas/mx-cfdi-log?from=2019-08-24&to=2019-08-24' \ -H 'X-TenantID: your-tenant-code'Example Response
{ "status": "string", "message": "string", "data": [ { "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc", "invoiceNumber": "string", "businessDate": "2019-08-24", "cfdiUuid": "856c7c7a-4c13-4f79-8dda-a0acc9b3d2c4", "cfdiStatus": "string", "cfdiSerie": "string", "cfdiForlio": "string", "cfdiStampedAt": "2019-08-24T14:15:22Z", "customerNumber": "string", "customerName": "string", "rfcNumber": "string", "subtotal": 0, "ivaAmount": 0, "grandTotal": 0 } ]}