Duplo Dashboard API Overview
Endpoints for e-invoicing, customers, countries, expenses, recipients, 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, and each endpoint needs a matching scope on your key.
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, Managing Issued Invoices, and Receive E-Invoicing Webhooks.
Create an invoice
Draft a new invoice. Duplo assigns its IRN.
Reserve an IRN
Optional. Get an IRN before the invoice exists.
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, or carry the buyer inline. 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
Raising an expense needs a recipient, and paying one can require a signed request. The guides are Raise and Pay an Expense and Read Your Expenses.
Raise an expense
Submit it for approval, or save a draft.
Pay an expense
Pay an approved expense from a wallet.
Fetch expenses
Filter by status or date range.
Get an expense
Read one expense by its id.
Upload receipts
Get upload URLs, then verify the uploads.
Recipients
The bank accounts your expenses pay. See Manage Recipients.
Create a recipient
Save an account. NGN accounts are checked with the bank.
List recipients
Search and filter your saved recipients.
Expense records
The taxes, categories, departments, and custom fields an expense can reference. See Set Up Expense Records.
List taxes
Your business's own expense taxes.
List expense categories
What the money was spent on.
List departments
Departments and their members.
List team members
The profile ids departments refer to.
List custom fields
The extra fields your expense form asks for.
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