From keys to your first invoice
Integrate with Waya's Invoice Tools API: follow five steps from getting started to your first invoice and going live.
Five steps to production
Each step links to the page that covers it.
- Get startedWhat you need, and your environment variables
- AuthenticateGet tokens from Vanguard, make a first call
- Create invoiceSend invoice data, store the returned id
- Follow upStatus, PDF, credits and payments
- Go liveChecklist and production URLs
Topics
Not steps of their own, but you need them along the way.
How the pieces fit
Your system authenticates with Vanguard and sends invoices to the Invoice Tools API. Waya360 takes it from there.
Your system
ERP, invoicing or partner platform
Vanguard
Authentication and rights
Invoice Tools API
REST, validates and accepts invoices
Waya360
Distribution, reminders, collection and payouts
Services the API supports: Invoicing, Factoring, Invoice Lending, Collection, Distribution and Web Checkout.
Environments
Build and test against the sandbox, and switch to production when you go live. The code samples in these guides use the sandbox URLs.
| Invoice API | https://api.sandbox.waya.se/v4/rest |
|---|---|
| Vanguard | https://vanguard.sandbox.waya.se/v2.0 |
| Invoice API Swagger | https://api.sandbox.waya.se/v4/rest/swagger/ |
| Vanguard Swagger | https://vanguard.sandbox.waya.se/v2.0/swagger.html |
| Insight | https://insight.sandbox.waya.se |
| Invoice API | https://api.waya.se/v4/rest |
|---|---|
| Vanguard | https://auth.waya.se/vanguard/v2.0 |
| Invoice API Swagger | https://api.waya.se/v4/rest/swagger/ |
| Vanguard Swagger | https://auth.waya.se/vanguard/v2.0/swagger.html |
| Insight | https://insight2.waya.se |
The standard formats for countries, languages, currencies and dates, and how the API may change, are in the overview in Swagger (opens in a new tab).
Video walkthrough
Support
Email Waya's technical support at techsupport@waya.se.
Include the full error code and the invoice id.
Owner of the developer documentation: Jonas Vikström, CTO.