Log invoice fields from Google Document AI in BigQuery

Extract the supplier, invoice number, total and currency from PDFs in Cloud Storage and record verified fields in BigQuery.

13 stepsFinance

Free to start, no card required.

How it works

  1. When this happens

    Watch the invoice intake bucket

    Google Cloud Storage

  2. Step 1 · Code

    Check the invoice object reference

  3. Step 2

    Check the source record

    Follows the first path that matches

    • Complete record

      1. Step 3 · Google Cloud Storage

        Verify the stored invoice version

      2. Step 4 · Code

        Match the live object generation

      3. Step 5

        Check the source record

        Follows the first path that matches

        • Complete record

          1. Step 6 · Storage

            Check for a previous delivery

          2. Step 7

            Check delivery history

            Follows the first path that matches

            • First delivery

              1. Step 8 · Google Document AI

                Extract the invoice fields

              2. Step 9 · Code

                Select the invoice ledger columns

              3. Step 10

                Check the source record

                Follows the first path that matches

                • Complete record

                  1. Step 11 · Google BigQuery

                    Insert the invoice ledger row

                  2. Step 12 · Storage

                    Save the delivery receipt

                • Otherwise

                  Nothing happens

            • Otherwise

              Nothing happens

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Select an append-only invoice bucket and its input prefix in the trigger, object check and lookup. Choose an Invoice Parser that can read the bucket. Select a BigQuery table with source_uri, source_generation, invoice_id, supplier_name and currency as strings and total_amount as a number.

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