1. Clients
gigstack API
  • Welcome to gigstack API
  • gigstack Connect API Guide
  • Migrar de API v1 a v2 de gigstack
  • Clients
    • Clients API Guide
    • List clients
      GET
    • Get client
      GET
    • Update client
      PUT
    • Create client
      POST
    • Validate client fiscal information
      POST
    • Get client customer portal access token
      POST
    • Stamp pending receipts
      POST
    • Delete client
      DELETE
    • Search clients
      GET
    • Upload CSF PDF to create or update client
      POST
    • Upload support document
      POST
    • List support documents
      GET
    • Health check
      GET
  • Services
    • Services API Guide
    • List services
      GET
    • Get service
      GET
    • Update service
      PUT
    • Create service
      POST
    • Delete service
      DELETE
    • Health check
      GET
  • Invoices
    • Invoices API Guide
    • Income
      • List income invoices
      • Create income invoice
      • Get income invoice
    • Egress
      • List egress invoices
      • Create egress invoice
      • Get egress invoice
    • Drafts
      • Create draft invoice (pre-factura)
      • Stamp draft invoice (finalize)
      • Generate draft preview PDF (pre-factura)
      • Delete draft invoice
      • Update draft invoice
      • Get draft invoice
      • List draft invoices
    • List CFDI errors
      GET
    • List payment complement invoices
      GET
    • Get payment complement invoice
      GET
    • Get invoice files
      GET
    • Upload support document
      POST
    • List support documents
      GET
    • Cancel invoice
      DELETE
    • Search invoices
      GET
    • List SAT invoices
      GET
    • Get a SAT invoice
      GET
    • Retry XML download
      POST
    • Generate PDF for a received SAT invoice
      POST
    • Create payment complement (complemento de pago)
      POST
    • Resend invoice email
      POST
    • Get invoice
      GET
    • Health check
      GET
    • Trigger end-of-month global invoicing
      POST
    • Connect FIEL credentials from a PFX file
      POST
    • Update bulk-download sync period
      PUT
  • Payments
    • Payments API Guide
    • List payments
    • Get payment
    • Request payment
    • Register payment
    • Mark payment as paid
    • Refund payment
    • Cancel payment
    • Search payments
    • Update payment
    • Upload support document
    • List support documents
    • Health check
  • Receipts
    • Receipts API Guide
    • List receipts
    • Get receipt
    • Create receipt
    • Stamp receipt
    • Cancel receipt
    • Search receipts
    • Health check
  • Teams
    • Teams API Guide
    • List teams
    • Get team
    • Get team integrations (not implemented)
    • Get team series
    • Get team onboarding URL
    • Update team
    • Update team series
    • Update team settings
    • Create team
    • Add team member
    • Remove team member
    • Create team series
    • Delete team
    • Upload SAT CSD certificates
    • Sign manifest document
    • Health check
    • Create a portal access token
  • Users
    • Users API Guide
    • List users
    • Get user
    • Update user
    • Create user
    • Reset user password
    • Delete user
    • Reset user password
    • Generate login link
    • Health check
  • Catalogs
    • Tax Regimes Catalog (Régimen Fiscal)
    • Payment Forms | Formas de pago
    • CFDI Usage Catalog (Uso CFDI)
    • Payment Methods Catalog (Método de Pago)
    • Months and Bimesters Catalog (Meses y Bimestres)
    • Invoice Relationships Catalog (Relación entre Facturas)
    • Search SAT product keys
    • Search SAT unit keys
    • Health check
  • Webhooks
    • Webhooks
    • List webhooks
    • Create webhook
    • Get webhook
    • Update webhook
    • Delete webhook
    • Health check
  • Retentions
    • Retentions
    • List retentions
    • Create retention
    • Get retention
    • Cancel retention
    • Get retention files
  • Descarga Masiva SAT
    • Descarga Masiva
    • Check activation status
    • Activate Descarga Masiva SAT
    • Deactivate Descarga Masiva SAT
    • Upload FIEL credentials
    • Register business with SAT (manual)
    • Get schedule configuration
    • Save schedule configuration
    • Get download request history
    • Create bulk download request
    • Check download request status
    • Download XML package
    • Get single invoice from SAT
    • Debug registration status
    • Enable SAT sync
    • Get SAT history sync progress
    • Preview a range of SAT history before paying for it
    • List recent preview and import jobs
    • Get one job with per-window detail
    • Stop a running job
    • Download XMLs for chosen CFDIs
  • Auth
    • Headless signup (API-only path)
    • Health check
  • SAT Lists
    • List SAT lists and sync status
    • Check an RFC against the SAT lists
    • Consult the SAT "Opinión del Cumplimiento" (32-D) for an RFC
  • Documents
    • List documents
    • Create document
    • Get document
    • Update document
    • Delete document
    • Analyze document with AI
    • Link document to an entity
    • Unlink document from an entity
  • Apidog connectivity test
    GET
  • Schemas
    • Schemas
      • ApiResponse
      • Category
      • Pet
      • Tag
      • Order
      • StandardizedSuccessResponse
      • StandardizedErrorResponse
      • ApiErrorCode
    • RequestBodies
      • UserArray
    • SatInvoice
    • OrderDirection
    • DateRangeFilter
    • ListQueryParams
    • PaginationMeta
    • ApiPublicProductKey
    • Client
    • ApiPublicUnitKey
    • ApiPublicClient
    • ApiPublicService
    • Service
    • PendingReceiptsSummary
    • ClientInput
    • CfdiError
    • ServiceInput
    • Invoice
    • DraftInvoiceInput
    • DraftInvoiceUpdateInput
    • DraftInvoiceOutput
    • InvoiceIncomeInput
    • PaymentComplementRelatedDocument
    • InvoiceEgressInput
    • PaymentComplementPayment
    • PaymentItem
    • PaymentComplementInput
    • PaymentAllowedMethod
    • InvoiceInput
    • ApiPublicPaymentProcessorDetails
    • Payment
    • ApiPublicPayment
    • PaymentInput
    • RequestPaymentInput
    • RegisterPaymentInput
    • RefundPaymentInput
    • InvoiceConfigInput
    • MarkPaymentAsPaidInput
    • ApiPublicUser
    • UpdatePaymentInput
    • ApiPublicIncomeInvoice
    • ApiPublicWebhook
    • ApiPublicTeam
    • Team
    • WebhookInput
    • WebhookUpdateInput
    • TeamInput
    • User
    • TeamSettingsInput
    • TeamSettings
    • SeriesInput
    • Series
    • UserInput
    • ApiPublicSearch
    • ApiPublicThirdParty
    • ApiPublicInvoiceConfig
    • ReceiptInput
    • ApiPublicRefund
    • DocumentTypeEnum
    • ApiPublicAutomations
    • DocumentComplianceStatusEnum
    • TeamTaxDefault
    • DocumentLinkEntityTypeEnum
    • BadRequestError
    • DocumentInput
    • ClientAddress
    • DocumentUpdateInput
    • SatListRfcCheck
    • DocumentLinkInput
    • ApiPublicDocument
    • TaxElement
    • PaymentMethodEnum
    • PaymentFormEnum
    • TaxSchema
    • AutomationTypeEnum
    • SatListDefinition
    • StandardSuccessResponse
    • SATDocument
    • StandardErrorResponse
    • UploadSupportDocumentInput
    • HealthResponse
    • CfdiErrorResponse
    • CreditLimitResponse
    • ListResponse
    • SearchResponse
    • ErrorResponse
    • ValidationErrorResponse
    • UnauthorizedError
    • NotFoundError
    • SatImportJobSummary
    • InternalServerError
    • LegacyErrorResponse
    • SatOpinion32dCheck
    • ItemSchema
  1. Clients

Stamp pending receipts

POST
https://api.gigstack.io/v2/clients/{id}/stamp-pending-receipts
Stamp the client's pending receipts into CFDI invoices.
Batch cap: at most 100 receipts are stamped per call. Receipts are processed
five at a time. If the client has more than 100 pending receipts, call the endpoint
repeatedly until data.remaining reaches 0.
data.remaining is re-counted from Firestore after stamping, so it includes both
receipts beyond the 100-item cap and receipts that failed in this run (they stay
pending).
Fiscal prerequisites. Before stamping anything the handler checks that the client
has an RFC (rfc, falling back to tax_id), a legal name (legal_name, falling back
to name), address.zip, and tax_system. If any is missing it returns 400 with
error.code: client_fiscal_data_incomplete and stamps nothing. email and
address.country are not checked (country defaults to MEX).
gigstack Connect: Stamp other teams' client receipts using the team parameter.

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Path Params

Query Params

Responses

🟢200OK
application/json
Batch processed. A 200 does not mean every receipt was stamped — inspect
data.failed and data.results. When the client has no pending receipts the
response is still 200, with all counters at 0 and the message
No pending receipts found.
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.gigstack.io/v2/clients/client_1234567890/stamp-pending-receipts?team=undefined' \
--header 'Authorization: <api-key>'
Response Response Example
200 - Success Example
{
    "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"
            }
        ]
    }
}
Modified at 2026-08-14 03:51:35
Previous
Get client customer portal access token
Next
Delete client
Built with