Gigstack icon

Gigstack

Interact with Gigstack API for Mexican tax-compliant invoicing and payments

Receipt → Create

AI-generated

Overview

This node operation creates a new receipt in the Gigstack system, which is used for Mexican tax-compliant invoicing and payments. It is beneficial for businesses needing to generate official receipts for clients, including detailed line items and optional invoice configuration. For example, a business can create a receipt for a client with multiple service items, specify currency and payment form, and configure invoice series and folio for future stamping.

Use Case Examples

  1. Create a receipt for a client with multiple service items, specifying quantities and unit prices.
  2. Set additional fields like currency, exchange rate, and payment form to customize the receipt.
  3. Configure invoice series and folio to prepare the receipt for future stamping.

Properties

Name Meaning
Client ID The ID of the client for this receipt, identifying the recipient of the receipt.
Items Receipt line items including service/product ID, quantity, and optional unit price override.
Additional Fields Optional fields to customize the receipt such as currency, exchange rate, idempotency key, periodicity, payment form, and additional metadata.
Invoice Config Configuration for invoice series and folio for future stamping of the receipt.
Team ID Team ID for multi-team access; leave empty to use default team.

Output

JSON

  • client
    • id - ID of the client for whom the receipt is created
  • items - Array of receipt line items with service/product IDs, quantities, and optional unit price overrides
  • currency - Currency of the receipt
  • exchange_rate - Exchange rate applied to the receipt currency
  • periodicity - Validity period for stamping the receipt
  • payment_form - SAT payment form code used in the receipt
  • idempotency_key - Unique key to prevent duplicate receipts
  • metadata - Additional custom metadata associated with the receipt
  • invoice_config
    • serie - Invoice series configured for future stamping
    • folio - Invoice folio number configured for future stamping

Dependencies

  • Gigstack API with API key credential

Troubleshooting

  • Ensure the client ID provided exists in the Gigstack system to avoid errors.
  • Verify that the items array contains valid service/product IDs and quantities.
  • If using idempotency key, ensure it is unique to prevent unintended duplicate receipts.
  • Check that the currency and payment form codes conform to supported values.
  • If invoice configuration is provided, ensure the series and folio values are valid and correctly formatted.

Links

Discussion