Archive registered letter receipts on Odoo invoices

Save the MySendingBox delivery receipt PDF on the Odoo invoice linked to a French registered collection letter.

13 stepsFinanceOperations

Free to start, no card required.

How it works

  1. When this happens

    Check for new delivery receipts

    Schedule

  2. Step 1 · Odoo

    Find invoices awaiting postal receipts

  3. Step 2 · Code

    Check pending invoice references

  4. Step 3

    Check each registered letter

    1. Step 4 · Mysendingbox

      Read the registered letter

    2. Step 5 · Code

      Validate the delivery proof file

    3. Step 6

      Check for a confirmed delivery proof

      Follows the first path that matches

      • Matching registered delivery receipt

        1. Step 7 · HTTP

          Download the receipt PDF

        2. Step 8 · Code

          Check the downloaded PDF

        3. Step 9 · Odoo

          Recheck the linked invoice

        4. Step 10 · Code

          Confirm the receipt slot is empty

        5. Step 11

          Check the pending invoice

          Follows the first path that matches

          • Invoice still awaiting this receipt

            1. Step 12 · Odoo

              Archive the delivery receipt in Odoo

          • Otherwise

            Nothing happens

      • Otherwise

        Nothing happens

    Repeats for every item

Before you start

On Odoo invoices reserve x_msb_letter_id (text) for one French collection letter per invoice and x_msb_receipt_pdf (binary) for its receipt. For each live MySendingBox LRAR letter, save the Odoo invoice ID in letter metadata odoo_invoice_id and copy its letter ID to the invoice. Connect the matching accounts, restrict access to these proofs and keep the queue within 50 pending invoices.

Accounts to connect

  • ScheduleBuilt into Connecto, no account
  • Odoo
  • Mysendingbox
  • HTTPBuilt into Connecto, no account
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