Log Razorpay and Zoho Invoice mismatches in Retable

Compare a captured INR payment with its unpaid Zoho invoice and log amount differences for the receivables team.

13 stepsFinanceOperations

Free to start, no card required.

How it works

  1. When this happens

    Receive the captured payment ID

    Webhook

  2. Step 1 · Code

    Select the organization and columns

  3. Step 2

    Check the payment reference

    Follows the first path that matches

    • Capture reference found

      1. Step 3 · Razorpay

        Read the captured payment

      2. Step 4 · Code

        Read the merchant invoice reference

      3. Step 5

        Check capture and invoice ownership

        Follows the first path that matches

        • Eligible INR payment

          1. Step 6 · Zoho Invoice

            Read the original customer invoice

          2. Step 7 · Code

            Compare full invoice and capture

          3. Step 8

            Select amount exceptions

            Follows the first path that matches

            • Full-payment amount differs

              1. Step 9 · Storage

                Check the saved receipt

              2. Step 10

                Check for a previous result

                Follows the first path that matches

                • No previous result

                  1. Step 11 · Retable

                    Record the payment exception

                  2. Step 12 · Storage

                    Save the work reference

                • Otherwise

                  Nothing happens

            • Otherwise

              Nothing happens

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Use a full-payment INR checkout that writes zoho_invoice_id and zoho_customer_id into Razorpay payment notes and subscribe to payment.captured. Set the Zoho organization and four Retable text column IDs below for payment ID, invoice ID, paid paise and invoiced paise, then select the table. Run events sequentially and check the payment ID in Retable before replaying an interrupted insert.

Accounts to connect

See all 200 in Finance

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template