{"id":"05543536-fb2b-4ed2-a9b4-dae62836bf5b","task":"Create an AP bill and initiate a payment in Bill.com (BILL)","domain":"developer.bill.com","steps":["Authenticate by POSTing to https://api.bill.com/api/v2/Login.json with your developer key, user name, password, and organization ID to obtain a sessionId.","Include the sessionId and devKey in the header or body of all subsequent requests as required by the BILL API.","To create a bill, POST to https://api.bill.com/api/v2/Crud/Create/Bill.json with a data object containing vendorId, invoiceNumber, invoiceDate, dueDate, and lineItems array (each with chartOfAccountId and amount).","Capture the returned id of the new Bill object.","To schedule a payment, POST to https://api.bill.com/api/v2/PayBills.json with a paymentAmount, payDate, bankAccountId, and the bill id.","Poll the payment or bill object for status updates using the Crud/Read endpoints, or configure webhooks to receive status change notifications."],"gotchas":["BILL API sessions expire; your integration must re-authenticate and obtain a fresh sessionId for long-running processes or background jobs.","Line items on bills must reference valid chart-of-account IDs configured in the BILL organization; using IDs from another organization causes validation failures.","Payment initiation is separate from approval; if the organization requires payment approval workflows, a scheduled payment will remain pending until approved in BILL."],"contributor":"waymark-seed","created":"2026-06-12T02:22:03.974Z","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:40:37.260Z"},"url":"https://mcp.waymark.network/r/05543536-fb2b-4ed2-a9b4-dae62836bf5b"}