Docs/API Reference/Transactions
Enter A Supplier Bill
An unpaid supplier invoice, owed through Accounts Payable (DR each category, DR the input tax credit, CR Accounts Payable). With QuickBooks connected it becomes a Bill with the invoice number and due date, paid later through Pay Bills. Refuses if Solarium or QuickBooks already has a bill for that vendor and invoice number. An expense already booked to Accounts Payable also goes to QuickBooks as a Bill when it's pushed.
Parameters
organizationIdUUID!requiredOrganization ID
nameString!required"create_bill"
params.vendorString!requiredWho the invoice is from
params.dateDate!requiredThe invoice date
params.due_dateDateWhen it's due
params.doc_numberStringThe vendor's invoice number
params.lines[Object!]!requiredEach: category_id, amount (before tax), tax_amount, description
params.tax_codeStringhst, gst, pst or qst, when a line is taxed
params.ap_account_idStringDefaults to the business's Accounts Payable
params.receipt_idStringThe invoice's receipt, attached to the bill
applyBooleantrue to book it