Invoice & Payments
Payer Merchant Portal
Other solutions
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
B2B Invoicing - Quickstart
Copy Markdown
Open in ChatGPT
Open in Claude
Get up and running in no time
With Payer's Invoice API, generating and sending an invoice is as simple as making one HTTP POST request.
Create Invoice V3
curl --request POST \ --url 'https://b2b.payer.se/api/v3/invoices' \ --header 'Authorization: Bearer {token}' \ --data '{ "invoiceCustomer": { "address": { "companyName": "ABC Corp", "emailAddress": "customer@example.com", "streetAddress1": "123 Main Street", "zipCode": "12345", "city": "Stockholm", "countryCode": "SE" // Additional fields is be added here, such as phoneNumber, email etc. }, // Additional customer-level information can go here }, "items": [ { "articleNumber": "10", "description": "Product A", "quantity": 2, "unitPriceExcludingVat": 199.99, "vatPercentage": 25 // Add more fields like costCenter, additionalDetail, etc., if needed } ], "deliveryType": "EINVOICE", "draft": false, "sendInvoice": true}'What Happens Next?
Once this example request is sent:
- The invoice is created in real-time and returned inte the API Response
- The invoice is distributed immediately (if sendInvoice=true and draft=false) as an e/EDI-invoice.
With just these components, you can send a ready-to-use invoices to your customer and get paid faster and with less time spent.
For advanced use cases, continue with the following guide on coming pages or read about the rest of the functionalities and APIs in the plattform. Or go and explore our full API documentation right away.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
B2B Invoice - Creating InvoicesDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message