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?
Quick start
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. Here's an example of how straightforward it can be:
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 added here, such as phoneNumber, email etc. }, // Additional customer-level information will go here }, "items": [ { "articleNumber": "10", "description": "Product A", "quantity": 2, "unitPriceExcludingVat": 199.99, "vatPercentage": 25 // Support for more fields like costCenter, additionalDetail, etc., if relevant } ], "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. For advanced use cases, continue with the following guide on coming pages or explore our full API documentation right away.
Overview of Customer Invoicing & Accounts Receivable
In this coming section of the documentation, Customer Invoicing & Accounts Receivable, we have collected all high-level information about how you can create invoices and how they are distributed, visualised and received by the customers.
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:
Integration flowDiscard 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