Skip to main content

How Bills are built

Each invoice approved in OpenInvoice becomes one Bill in the matching QuickBooks company file. This page explains every field rAPido! fills in, and the order it uses to decide the vendor, account, Class and Customer:Job, so you can set up QuickBooks to match and recognise a rAPido! Bill when you see one.

The Bill at a glance​

QuickBooks fieldWhat rAPido! puts there
VendorThe QuickBooks vendor for the invoice's supplier. See Vendors
DateThe invoice date from OpenInvoice
Ref. No.The OpenInvoice invoice ID (the internal document ID, not the supplier's invoice number). rAPido! uses it to make sure a Bill is never created twice
MemoOpenInvoice and the supplier's invoice number, then the document link, the invoice description, and the department if your file is set that way
Expenses tabOne line per coding split on the invoice. See Lines
Amount DueThe sum of the lines, which equals the invoice total, tax included

Due date and terms are not set by rAPido!; QuickBooks applies the vendor's terms if it has them.

Memo​

The Bill memo reads in this order, parts separated by |:

  1. OpenInvoice and the supplier's invoice number, for example OpenInvoice INV-20417.
  2. Docs: and a short link that opens the invoice image and attachments. See Invoice document links. Accel can turn this off for a file.
  3. The invoice's description from OpenInvoice, if it has one.
  4. Dept: and the OpenInvoice department, if the file is set to show the department in the memo (the default).

Search QuickBooks for the supplier's invoice number in the memo to find the Bill for an invoice.

Lines​

rAPido! posts expense lines only; it never uses QuickBooks items.

  • One line per coding split. An invoice line coded to a single cost object becomes one Bill line. A line split across several AFEs or cost centers becomes one Bill line per split, each for its share.
  • Amount. The line amount with its share of tax included, so the Bill total matches the invoice total exactly. When tax is shared across splits, it is divided in proportion to each split's amount, and any rounding cent goes to the last split.
  • Memo. The line description from the invoice (or the product description or code), then field ticket numbers as FT …, then the tax included as incl. tax ….
  • Account, Class, Customer:Job. Resolved as described below.

Quantity, unit price and well are read from the invoice but not posted, because QuickBooks expense lines don't carry them.

Totals must match

If an invoice's lines don't add up to its total, within one cent, rAPido! doesn't post it. The invoice shows Failed with lines total … but the invoice total is …. The supplier needs to correct it in OpenInvoice.

Vendors​

rAPido! identifies the supplier by its OpenInvoice supplier number (or, if the supplier has none, its DUNS), and looks for the QuickBooks vendor in this order. The first match wins.

  1. A mapping Accel set for that supplier on your company file.
  2. The file's fallback vendor, if Accel set one. Most files don't have one, so that unmapped suppliers get attention instead of all landing on one vendor.
  3. Account No. An active QuickBooks vendor whose Account No. equals the supplier number, if exactly one does.
  4. Exact name. An active QuickBooks vendor whose name exactly matches the supplier's name on the invoice (capital letters don't matter), if exactly one does.

If none of these match, the invoice fails with a message like:

No QuickBooks vendor matches Acme Hot Oil, supplier number 100234. Set the vendor's Account No. to 100234 in QuickBooks, or map the supplier in the file's invoice mapping. rAPido! retries on the next sync.

The easiest setup

In QuickBooks, open each vendor that bills you through OpenInvoice and put its OpenInvoice supplier number in Account No. (on the vendor's Payment Settings tab). rAPido! then matches every invoice from that supplier automatically, even if the names differ slightly.

Inactive vendors are never used. If two active vendors share the same Account No. or the same name, rAPido! won't guess between them; fix the duplicate or ask Accel to map the supplier.

Expense accounts​

OpenInvoice codes each line to a GL account, written as its full path, for example Job Expenses:Subcontractors. rAPido! finds the QuickBooks account in this order:

  1. A mapping Accel set for that GL on your company file.
  2. Same full name. An active QuickBooks account whose full name, including parent accounts, equals the GL's name or its code path. Capital letters and spaces around the colons don't matter.
  3. Lines with no GL at all use the file's default expense account.

A GL that matches nothing never falls back to the default account, because posting to the wrong account is worse than waiting. The invoice fails with:

No QuickBooks expense account matches GL "Job Expenses:Subcontractors". Map it in the file's invoice mapping, or give the QuickBooks account the same name. rAPido! retries on the next sync.

rAPido! matches the full name only. A GL named Insurance will not land on the QuickBooks account Automobile:Insurance; that needs a mapping.

Keep the charts aligned

The fewest exceptions come from an OpenInvoice chart of accounts whose GL names match your QuickBooks account full names exactly. Where they can't match, Accel maps each GL once.

Class​

QuickBooks Desktop tracks Class per line, so rAPido! sets it on each expense line:

  1. The Class for the line's AFE, if one is set.
  2. Otherwise the Class for the line's cost center.
  3. Otherwise the file's default Class, if Accel set one.

When you use the cost center sync, each OpenInvoice cost center was published from a QuickBooks Class, so an invoice coded to that cost center goes back onto the same Class automatically. Mappings Accel sets by hand take priority over the sync.

Class tracking must be on in your company file for Classes to appear.

Customer:Job​

When a line is coded to an AFE that came from the AFE sync, rAPido! puts the QuickBooks Customer:Job it was published from in the line's Customer:Job column. That keeps well and project costs on the job they belong to.

Department​

QuickBooks Desktop has no department field. Accel sets, per file, where the OpenInvoice department appears:

SettingResult
Memo (default)Dept: and the department at the end of the Bill memo. If lines carry different departments, they are listed together
Each lineDept: and the line's department at the end of each line memo
Left offNot shown

Credits and negative amounts​

Credit memos are not handled separately yet. If you expect credit memos through OpenInvoice, talk to Accel before they are approved.

If you edit a Bill in QuickBooks​

You can edit a rAPido! Bill like any other Bill; rAPido! doesn't overwrite it. Two things to keep in mind:

  • Keep the Ref. No. unchanged. rAPido! uses it to recognise a Bill it already posted.
  • Don't delete and re-enter the Bill. rAPido! matches payments to the Bill it created, so a payment applied to a re-entered copy won't reach OpenInvoice.