E-invoice

Record a company's Peppol mandate (click-through acceptance)

post/einvoice/mandates

Request

  • Base URL: https://api.wsystem.dev
  • URL: https://api.wsystem.dev/einvoice/mandates
  • Auth: none declared

Headers

x-api-keystring nullable

Request body

company_namestring required
company_idstring required

EU VAT number or national enterprise number

peppol_idstring nullable

Optional Peppol participant id, e.g. 0208:0403170701

company_emailstring required
company_phonestring required
signer_namestring required

Person granting the mandate

signer_rolestring required

Their role, e.g. Managing Director

representative_namestring nullable

Company representative (defaults to signer)

terms_versionstring required

Version shown to the signer (GET /einvoice/mandate-terms)

terms_sha256string required

sha256 of the exact terms text shown

acceptboolean required

Must be true: the signer ticked the acceptance box

authority_confirmedboolean required

Must be true: signer confirms they may bind the company

Example request

{
  "company_name": "Muster GmbH",
  "company_id": "BE0403170701"
}

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.