GET /v1/invoice/settings
const url = 'https://api.asap.cool/v1/invoice/settings';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.asap.cool/v1/invoice/settings \ --header 'Authorization: Bearer <token>'Authorizations
Section intitulée « Authorizations »Responses
Section intitulée « Responses »The org’s invoice settings.
Public projection of [InvoiceSettings]. Amounts are in cents.
object
Number prefix for deposit invoices.
Whether a signed quote is auto-converted to a draft facture on acceptance.
Whether an invoice auto-created from a signed quote is also finalized
(NF203) automatically. Implies auto_convert_signed_quotes.
Whether an auto-finalized invoice is also emailed to the client.
Implies auto_finalize_signed_invoices.
Number prefix for credit notes.
Settlement BIC.
RFC3339 creation timestamp.
Default early-payment discount terms.
Default payment terms.
Default quote validity, in days.
Default VAT chargeability basis.
Number prefix for quotes.
Whether this org opted into the e-invoicing flow.
E-reporting preferences.
Number prefix for invoices.
Footer mentions / legal notes.
Settlement IBAN.
Owning org id.
Partner dematerialization-platform (PDP) config.
Late-payment penalty rate as a percentage token.
Fixed recovery indemnity, in cents.
RFC3339 last-update timestamp.
Example generated
{ "acompte_prefix": "example", "auto_convert_signed_quotes": true, "auto_finalize_signed_invoices": true, "auto_send_signed_invoices": true, "avoir_prefix": "example", "bic": "example", "created_at": "example", "default_discount_terms": "example", "default_payment_terms": "example", "default_validity_days": 1, "default_vat_exigibility": "example", "devis_prefix": "example", "einvoicing_enabled": true, "ereporting_prefs": "example", "facture_prefix": "example", "footer_mentions": "example", "iban": "example", "org_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "pdp_config": "example", "penalty_rate": "example", "recovery_fee": 1, "updated_at": "example"}No active org.
Generic error body returned by API handlers when they fail. code is a
stable machine-readable token; message is human-friendly and meant for
surfacing to end users.
object
Stable machine token (e.g. invalid_credentials).
Offending request field for validation errors, when known.
Human-readable message.
Example generated
{ "code": "example", "field": "example", "message": "example"}Missing invoice:read scope.
Generic error body returned by API handlers when they fail. code is a
stable machine-readable token; message is human-friendly and meant for
surfacing to end users.
object
Stable machine token (e.g. invalid_credentials).
Offending request field for validation errors, when known.
Human-readable message.
Example generated
{ "code": "example", "field": "example", "message": "example"}Org has no invoice settings yet.
Generic error body returned by API handlers when they fail. code is a
stable machine-readable token; message is human-friendly and meant for
surfacing to end users.
object
Stable machine token (e.g. invalid_credentials).
Offending request field for validation errors, when known.
Human-readable message.
Example generated
{ "code": "example", "field": "example", "message": "example"}