Duplo Dashboard API Overview
Endpoints for e-invoicing, customers, countries, expenses, payouts, your business, and banks
Every path starts with /api/v1, as in https://spend-api.tryduplo.com/api/v1/e-invoicing/invoices. Getting Started covers authentication and rate limits.
E-invoicing
These endpoints need e-invoicing on the business's plan and NRS setup completed in Duplo Dashboard, or they return 403. The guides are Issuing an E-Invoice, Transmitting an E-Invoice, and Managing Issued Invoices.
Reserve an IRN
Get the reference number a new invoice needs.
Create an invoice
Draft a new invoice.
Submit an invoice
Validate and sign in one call.
Transmit a signed invoice
Deliver it through NRS, by email, or both.
Get an invoice
Read one invoice by its IRN.
List invoices
Page through your invoices.
Reference data
The e-invoicing endpoints also return the values an invoice payload is built from, behind the same access checks. The taxes endpoint lists the taxes set up for your business alongside the NRS tax categories and their rates, and the product and service code endpoints list the values for an item's hsnCode and isicCode.
List taxes
Fetch the tax names and rates to put on invoice lines.
List product codes
NRS HS codes for an item's hsnCode.
List service codes
NRS service codes for an item's isicCode.
List tax categories
NRS tax categories with their published rates.
The remaining reference endpoints return NRS's own lists as NRS publishes them: quantity codes, countries, currencies, payment means, invoice types, and VAT exemptions. NRS's countries list is reference data only. For a customer's address, use the countries endpoints below.
Customers
Invoices reference their buyer by customerId. See Managing Customers.
Create a customer
Create or update a customer.
List customers
Page through or search your customers.
Get a customer
Read one customer by its id.
Countries
Country and state codes for customer and supplier addresses.
Expenses
Payouts
Business
Validate an API key
The key's business, and whether its requests must be encrypted.
Get business accounts
The business's wallets.
Get business currencies
The currencies set up for the business.
Banks
How is this guide?
Last updated on