Gigstack icon

Gigstack

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

Payment → Mark as Paid

AI-generated

Overview

This node operation marks a specified payment as paid in the Gigstack system. It is useful for updating the payment status once a payment has been received and confirmed. For example, after receiving a bank transfer or credit card payment, this operation can be used to record the payment as completed, including details such as the payment form and the date the payment was received.

Use Case Examples

  1. Mark a payment as paid using a credit card (payment form code '04') and specify the exact date and time the payment was received.
  2. Update the status of a payment to paid with the payment form set to electronic transfer (code '03') and use the current date and time if no specific date is provided.

Properties

Name Meaning
Payment ID The unique identifier of the payment to be marked as paid.
Payment Form The SAT payment form code indicating the method of payment used.
Payment Date The date and time when the payment was received. Defaults to the current date and time if not specified.
Team ID The team identifier for multi-team access in Gigstack Connect. Leave empty to use the default team.

Output

JSON

  • id - The unique identifier of the payment that was marked as paid.
  • status - The updated status of the payment, indicating it is now paid.
  • payment_form - The payment form code used to mark the payment as paid.
  • date - The timestamp of when the payment was recorded as paid.
  • otherProperties - Additional properties returned by the Gigstack API related to the payment.

Dependencies

  • Gigstack API
  • An API key credential for authentication

Troubleshooting

  • Error: 'Payment ID' is required - Ensure the payment ID is provided and valid.
  • Error: Invalid payment form code - Use one of the predefined SAT payment form codes.
  • Error: API authentication failed - Verify the API key credential is correctly configured.
  • Error: Payment not found - Confirm the payment ID exists in the Gigstack system.
  • Error: Date format invalid - Provide the payment date in a valid date-time format or leave empty to use the current date.

Links

Discussion