Void invoice
Changed onVoids an open invoice. Cannot void paid invoices.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
The resource's ID, as returned in its id field
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Response
Invoice voided
The invoice as a PDF. Anyone with the link can open it, so share it only with the contact.
True when the invoice was marked paid for a payment made outside Crevio, such as cash or a bank transfer. No order exists for it.
ID by default, full object when expanded
ID by default, full object when expanded
ID by default, full object when expanded
Changes
- info
added the required property
order/oneOf[#/components/schemas/Order]/line_items/items/price_variant/oneOf[#/components/schemas/PriceVariant]/cross_sellsto the response with the status - info
added the required property
order/oneOf[#/components/schemas/Order]/line_items/items/product/oneOf[#/components/schemas/Product]/price_variants/items/cross_sellsto the response with the status - info
added the required property
order/oneOf[#/components/schemas/Order]/line_items/items/product/oneOf[#/components/schemas/Product]/tax_codeto the response with the status
2 more changes in this revision
- info