data.remaining reaches 0.data.remaining is re-counted from Firestore after stamping, so it includes bothpending).rfc, falling back to tax_id), a legal name (legal_name, falling backname), address.zip, and tax_system. If any is missing it returns 400 witherror.code: client_fiscal_data_incomplete and stamps nothing. email andaddress.country are not checked (country defaults to MEX).team parameter.curl --location --request POST 'https://api.gigstack.io/v2/clients/client_1234567890/stamp-pending-receipts?team=undefined' \
--header 'Authorization: <api-key>'{
"success": true,
"message": "Stamped 2 receipt(s), 1 failed",
"timestamp": 1767225600000,
"data": {
"stamped": 2,
"failed": 1,
"remaining": 0,
"results": [
{
"id": "receipt_1234567890",
"status": "stamped"
},
{
"id": "receipt_2345678901",
"status": "stamped"
},
{
"id": "receipt_3456789012",
"status": "failed",
"error": "CFDI40147 - El campo UsoCFDI no es válido"
}
]
}
}