Skip to main content

VendorBillApproved

Consumed by this service. AP: a vendor/subcontractor bill was approved. Creates the purchase (use tax) document.

When​

A vendor or subcontractor bill was approved (AP). The service creates the purchase (use tax) document.

How it is handled​

Set vendorChargedTax to the tax on the bill so the vendor-tax report can compare it with the calculated tax. Results come back as events, as for WorkOrderInvoiceFinalized.

Routing​

Publish to exchange pvc.integrations.vendor-bill-approved; it is bound to this service's queue vendor-bill-approved.

Fields​

FieldTypeMeaning
documentCreateTaxDocumentRequestThe bill, exactly as for POST /api/v1/tax/documents (direction must be Payable).