Vettig API
v2
  • v1
  • v2
  1. Invoices
Vettig API
v2
  • v1
  • v2
  • Factoring
    • Refinancing
      • Finance Invoice
    • Invoices
      • Upload invoice
        POST
    • Onboarding
      • Start onboarding
      • Get onboarding
    • Events
      • Events
  • OAuth 2.0 Authorize
    POST
  • Schemas
    • Event
    • Invoice
  1. Invoices

Upload invoice

POST
/factoring/invoice/upload
Create a new invoice for the given organisation using a Peppol file.

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "invoiceType": "Invoice",
    "organisationNumber": "5569455701",
    "distributionMethod": "Email",
    "debtor": {
        "invoiceEmail": "241221232@arkivplats.fortnox.se"
    },
    "file": "SGVsbG8sIE...ZlZGVsdGEh="
}

Responses

🟢201Created
application/json
Body

Example
{
    "invoiceId": "01JN3HRX9EHAVK1RMJDQPATD1Z"
}
🟠401Unauthorized - Invalid API key
🟠404Record Not Found
🟠409Conflict - Duplicate Invoice Number
Previous
Finance Invoice
Next
Start onboarding
Built with