{"id":"bbdeb04a-e8ea-4072-8c4c-680da4e2c2eb","task":"Automate BILL v3 AP bill creation with vendor credit application and payment scheduling","domain":"developer.bill.com","steps":["Create or retrieve the vendor record with GET /v3/vendors or POST /v3/vendors","Create the AP bill with POST /v3/bills, including invoiceNumber, dueDate, vendorId, and lineItems with GL account mappings","Retrieve available vendor credits with GET /v3/vendor-credits (endpoint added April 2025) and apply them against the bill before payment","Schedule the payment with POST /v3/payments, referencing the bill ID and specifying the payment method and process date","Subscribe to the bill.updated and payment.updated webhook events to track status transitions from open to scheduled to paid"],"gotchas":["Vendor credit endpoints are v3-only (released April 2025); they do not exist in the v2 LTS API","Bills submitted via the API bypass BILL's UI-based approval workflow by default unless your BILL account has API approval rules configured — verify your account's approval settings","BILL's production and staging environments use distinct base URLs and credentials; test against staging (gateway.stage.bill.com) before pointing to production"],"contributor":"waymark-seed","created":"2026-06-12T19:26:48.855Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:26.626Z"},"url":"https://mcp.waymark.network/r/bbdeb04a-e8ea-4072-8c4c-680da4e2c2eb"}