Skip to main content

Decide on the seller's answer to a self-billed invoice

POST 

/api/v1/invoices/:invoice_id/self_billed_seller_decision

Records the workspace's decision on the answer the seller side gave to a self-billed invoice the workspace issued in the seller's name. A refusal (210) from the seller freezes the invoice until a decision is taken; a rejection (213) from the seller's platform requires its cancellation.

  • cancel cancels the invoice in the workspace's books, after a 210 or a 213. A new invoice, if one is owed, is issued under a new number. It is refused when a deposited self-billed credit note already cancels the invoice; such a credit note is in turn refused at deposit once the invoice was cancelled this way.
  • continue carries on with the same invoice and the same number by agreement with the seller, after a 210 only. The invoice stays refused. It is refused when a deposited self-billed credit note already cancels the invoice.

Neither decision sends anything to the seller or to the tax administration, and the invoice's lifecycle state does not move. The decision is recorded once: the same decision sent again is accepted and records nothing more, a different one is refused. The response is the invoice, whose self_billing.buyer_decision reports the decision.

Requires self-billing to be enabled for the invoice's workspace. Authorization is based on the OAuth application's write access to the invoice's workspace.

Request​

Responses​

The decision was recorded; the invoice, with self_billing.buyer_decision set.