Qoyod integration
Saudi cloud accounting (ZATCA e-invoicing). List and create invoices and products via Qoyod API 2.0. Responses are JSON envelopes ({ invoices: [...] }); a 404 on an empty result set is normalized to an empty list by the platform.
Invoices
- List Invoices — List invoices (unpaginated; envelope { invoices: [...] }; filter with q[...] params, e.g. q[status_eq]=Approved)
- Create Invoice — Create an invoice (body wrapped in an `invoice` object; line item discounts support percentage or amount)
Products
- List Products — List products (unpaginated; envelope { products: [...] }; filter with q[...] params)
- Create Product — Create a product (body wrapped in a `product` object; vendor path ends with a trailing slash)