Заметки к выпуску
- Rate limits: a 429 from QuickBooks stops further calls for the
Retry-Aftertime (one minute when absent, at most five), so a backfill or a burst of events no longer keeps hitting the limit; the invoice stays pending and is retried with the same request id. A 400 of the token endpoint other thaninvalid_grantno longer disconnects the company.
- Built on SDK 3.19.0: the plugin implements
IAccountingSyncPluginand declaresaccountingSync(andendpoints). The host delivers every invoice change; the plugin no longer syncs only from the client's admin panel.minHostVersionis 0.12.0, the first host release that ships SDK 3.19.0 (see the README). - Invoices are booked with one QuickBooks line per panel line (quantity, unit price, discount, net amount) and a tax code per line, taken from the new Tax mapping (tax name, rate and jurisdiction to a QuickBooks tax code). An invoice with a tax that has no mapping is not sent and shows
needsMappingwithtax_not_mapped:<name>:<rate>:<jurisdiction>. The currency mapping's tax code is now only the code of lines that carry no tax (untaxedTaxCodeId, wastaxCodeId). - Every panel payment is booked with its own amount and date. Every refund, partial ones included, is booked as a refund receipt with its own amount and its own date; a partial refund is no longer
needsReview. A reversed payment isneedsReview(payment_reversal_not_booked). - New Backfill (admin page): reads the invoices through the host's billing documents API with a persisted cursor and a
changedSincecheckpoint, resumes after an outage, and offers a full re-read. Sync this client and Retry read through the same API, so the 50-invoice window is gone. - The customer is made from the billing party (name, company, billing e-mail, billing address) and updated when they change.
- A document whose
Versionis lower than one already taken in is skipped, so a late event or a backfill page never overwrites a newer state. - Sync records moved from the client-scoped store to the plugin-wide store (packed 50 ids to a key) because an event has no call and so no client-scoped store; they hold no name, e-mail or address. New state
needsMappingfor a missing currency or tax mapping (a missing currency mapping wasfailed). - Removed: the
IPluginHostApi.ListInvoicesAsync/GetProfileAsyncreads, the single-line booking, the partial-refundneedsReview, the sync-time refund date and thepartial_refund_amount_unknowncode.
- First version: OAuth 2.0 connection with refresh token rotation, one-way sync of customers, invoices, payments, full refunds and voids to QuickBooks Online, per-currency account mapping, per-invoice sync state with manual retry on the client's admin panel, and verified webhooks.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «quickbooks-online» и выберите версию 1.0.0.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.