Create E-Invoicing Customer

Create E-Invoicing Customer

Create a new e-invoicing customer under the authenticated business.

POST

/api/v1/e-invoicing/customers

Authorization

BearerAuth

AuthorizationBearer

In: header

Request Body

application/json

Response Body

201 application/json

401

422

500

cURL Example

curl -X POST "https://atlas.tryduplo.com/api/v1/e-invoicing/customers" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "John",
    "last_name": "Doe",
    "email": "john.doe@example.com",
    "phone": "+2348098765432",
    "tin": "98765432-0001",
    "country": "Nigeria",
    "city": "Yaba",
    "address": "456 Market Street, Yaba",
    "postal_code": "100001",
    "lga": "NG-AB-ANO",
    "state": "NG-AB"
  }'

Example Response

{
  "requestId": "3a6538fd-03f0-4b05-ba41-5d44769dd014",
  "requestTimestamp": "2026-05-14 14:02:37",
  "message": "Customer created successfully.",
  "statusCode": 201,
  "data": {
    "id": "019e26cb-e650-726d-bad6-95564a020b4a",
    "firstName": "John",
    "lastName": "Doe",
    "email": "john.doe@example.com",
    "phoneNumber": "+2348098765432",
    "reference": "dp_cust_hrxp0rpkhlyc6r8",
    "businessState": "test",
    "isBlacklisted": false,
    "hasWallet": false,
    "hasNrsCustomer": true,
    "wallet": {},
    "status": "ACTIVE",
    "source": "API",
    "createdAt": "2026-05-14 14:02:37"
  }
}

Last updated on 5/27/2026