Developers
Reference · Partners

Customers & suppliers

List customers and suppliers #

GET/api/public/v1/quosuite/partners
Scope : partners:readlistPartners

Filterable by role (role=CLIENT includes mixed records), type, nature, search, category, tags, email or tax ID. Allowed sort: code, name, createdAt, updatedAt (default name).

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar
  • pagenumberquery

    Page number (starting at 1).

  • pageSizenumberquery

    Items per page (100 at most).

  • sortstringquery

    Sort: comma-separated fields, - prefix for descending order. Allowed fields: see the route description. A final criterion on id makes pagination stable.

  • updatedSincestringquery

    Only returns items created or updated since this instant (ISO 8601, inclusive). With sort=updatedAt, this is the recommended form of an incremental sync.

  • cursorstringquery

    Cursor pagination: nextCursor of the previous page, to be passed back as is with the same filters and the same sort. Stable even if items are created during the walk, and constant cost whatever the depth. Mutually exclusive with page.

  • limitnumberquery

    Cursor pagination: items per page (100 at most). ?limit=100 starts a cursor walk; the response returns pagination.nextCursor.

  • rolestringquery

    Role played: CLIENT returns customers and BOTH records, likewise for SUPPLIER.

    CLIENTSUPPLIER
  • typestringquery

    Exact record type.

    CLIENTSUPPLIERBOTH
  • kindstringquery
    INDIVIDUALCOMPANY
  • qstringquery

    Search in the code, name, email and tax ID.

  • categorystringquery
  • tagsstring[]query

    Tags (at least one), comma-separated.

  • emailstringquery

    Exact email (case-insensitive).

  • taxIdstringquery

    Exact tax ID.

  • includeArchivedbooleanquery

Response 200application/json

Success.

  • itemsPartnerDto[]required
    PartnerDto details
  • paginationPaginationDtorequired
    PaginationDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/partners' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "fffa9e0b-33d4-4332-8d8a-b58c9c1af631",
        "code": "CLI-0042",
        "type": "CLIENT",
        "typeLabel": "Client",
        "kind": "INDIVIDUAL",
        "name": "Société Exemple SARL",
        "email": null,
        "phone": null,
        "mobile": null,
        "address": null,
        "city": null,
        "country": "TN",
        "taxId": "b62e3b7e-b4d6-4ffe-884c-16ebafa5e5a5",
        "legalForm": null,
        "tradeRegister": null,
        "tradeName": null,
        "managerName": null,
        "category": null,
        "tags": [
          "string"
        ],
        "currency": "TND",
        "paymentTermsDays": 30,
        "creditLimit": 10000,
        "defaultDiscountPercent": 0,
        "preferredPaymentMethod": "CASH",
        "accountBalance": 0,
        "bank": {
          "bankName": null,
          "iban": "TN5904018104003691234567",
          "bic": null,
          "accountHolder": null
        },
        "archived": true,
        "createdAt": "2026-10-02T09:15:00.000Z",
        "updatedAt": "2026-10-02T09:15:00.000Z"
      }
    ],
    "pagination": {
      "page": 1,
      "pageSize": 25,
      "totalItems": 132,
      "totalPages": 6,
      "limit": 100,
      "nextCursor": "c1.eyJzIjoiZGF0ZTpkZXNjLGlkOmFzYyIsImYiOiJ…",
      "hasMore": true
    }
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Create a customer or supplier #

POST/api/public/v1/quosuite/partners
Scope : partners:writeIdempotentcreatePartner

The code is assigned by the type's series when omitted; if provided, it must be free (422). Counts towards the plan's record quota (402).

Parameters

  • Idempotency-Keystringheader

    Idempotency key (1–255 printable ASCII characters, UUID v4 recommended). A retry with the same key and the same body within 24 h replays the response of the first successful call (header Idempotent-Replayed: true) instead of creating a second time. Same key, different body: 422 IDEMPOTENCY_KEY_REUSED. First call still in progress: 409 IDEMPOTENCY_IN_PROGRESS.

Request body application/json

  • typestringrequired
    valuesCLIENTSUPPLIERBOTH
  • namestringrequired
    e.g.Société Exemple SARL
  • codestring

    Omitted: next code of the type's series.

    e.g.CLI-0042
  • kindstring
    valuesINDIVIDUALCOMPANYdefault"COMPANY"
  • emailstring
    e.g.contact@exemple.tn
  • phonestring
  • mobilestring
  • addressstring
  • citystring
  • countrystring
    e.g.TN
  • taxIdstring

    Tax ID / VAT number.

  • legalFormstring
  • tradeRegisterstring
  • tradeNamestring

    Trade name.

  • managerNamestring

    Name of the person in charge (manager, director).

  • categorystring
  • tagsstring[]
  • currencystring
    e.g.TND
  • paymentTermsDaysnumber
    min.0max.365e.g.30
  • creditLimitnumber
    min.0e.g.10000
  • defaultDiscountPercentnumber
    min.0max.100e.g.5
  • preferredPaymentMethodstring
    valuesCASHCHECKDRAFTTRANSFERCARDLOYALTYBALANCECREDITOTHER
  • bankNamestring
  • bankIbanstring
  • bankBicstring
  • bankAccountHolderstring

Response 201application/json

Created.

  • idstring (uuid)required
  • codestringrequired

    Unique code, assigned by the ERP when not provided.

    e.g.CLI-0042
  • typestringrequired

    CLIENT, SUPPLIER or BOTH.

    valuesCLIENTSUPPLIERBOTH
  • typeLabelstringrequired
    e.g.Client
  • kindstringrequired
    valuesINDIVIDUALCOMPANY
  • namestringrequired
    e.g.Société Exemple SARL
  • emailstring | null
  • phonestring | null
  • mobilestring | null
  • addressstring | null
  • citystring | null
  • countrystring | null
    e.g.TN
  • taxIdstring | null

    Tax ID / VAT number.

  • legalFormstring | null
  • tradeRegisterstring | null
  • tradeNamestring | null

    Trade name.

  • managerNamestring | null

    Name of the person in charge (manager, director).

  • categorystring | null
  • tagsstring[]required
  • currencystringrequired

    Partner's usual currency.

    e.g.TND
  • paymentTermsDaysnumberrequired

    Payment terms (days).

    e.g.30
  • creditLimitnumberrequired

    Credit limit (0 = unlimited), partner currency.

    e.g.10000
  • defaultDiscountPercentnumberrequired

    Default discount (%).

    e.g.0
  • preferredPaymentMethodstring | null
    valuesCASHCHECKDRAFTTRANSFERCARDLOYALTYBALANCECREDITOTHER
  • accountBalancenumberrequired

    Partner account balance (advances paid, credit notes credited), partner currency.

    e.g.0
  • bankBankDetailsDtorequired
    BankDetailsDto details
  • archivedbooleanrequired

    Archived (soft delete).

  • createdAtstringrequired
  • updatedAtstringrequired
  • contactsPartnerContactDto[]required
    PartnerContactDto details
  • addressesPartnerAddressDto[]required
    PartnerAddressDto details
  • financialsPartnerFinancialsDtorequired
    PartnerFinancialsDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

402PLAN_QUOTA_EXCEEDEDFEATURE_NOT_INCLUDEDMODULE_NOT_INCLUDED

Subscription plan limit or option (monthly document quota, multi-currency…).

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/partners' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY" \
  -H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
  -H 'Content-Type: application/json' \
  -d '{
  "type": "CLIENT",
  "name": "Société Exemple SARL"
}'
Response example
{
  "success": true,
  "data": {
    "id": "006ce7c6-d389-43c0-8435-59136cb6ead1",
    "code": "CLI-0042",
    "type": "CLIENT",
    "typeLabel": "Client",
    "kind": "INDIVIDUAL",
    "name": "Société Exemple SARL",
    "email": null,
    "phone": null,
    "mobile": null,
    "address": null,
    "city": null,
    "country": "TN",
    "taxId": "ce4ef841-d41d-4f12-8237-fcd48e819555",
    "legalForm": null,
    "tradeRegister": null,
    "tradeName": null,
    "managerName": null,
    "category": null,
    "tags": [
      "string"
    ],
    "currency": "TND",
    "paymentTermsDays": 30,
    "creditLimit": 10000,
    "defaultDiscountPercent": 0,
    "preferredPaymentMethod": "CASH",
    "accountBalance": 0,
    "bank": {
      "bankName": null,
      "iban": "TN5904018104003691234567",
      "bic": null,
      "accountHolder": null
    },
    "archived": true,
    "createdAt": "2026-10-02T09:15:00.000Z",
    "updatedAt": "2026-10-02T09:15:00.000Z",
    "contacts": [
      {
        "id": "ebe7b025-2fbf-41b2-8983-ddb8b77c8d3d",
        "name": "Sarra Ben Ali",
        "role": "Comptabilité",
        "email": null,
        "phone": null,
        "mobile": null,
        "notes": null,
        "isPrimary": true,
        "updatedAt": "2026-10-02T09:15:00.000Z"
      }
    ],
    "addresses": [
      {
        "id": "0f77a31d-3027-4892-8542-16dc3f280949",
        "kind": "BILLING",
        "label": null,
        "address": "string",
        "city": null,
        "postalCode": null,
        "country": null,
        "isDefault": true
      }
    ],
    "financials": {
      "unpaidTotal": 1191,
      "overdueTotal": 0,
      "creditExceeded": false,
      "aging": {
        "d0_30": 0,
        "d30_60": 0,
        "d60_90": 0,
        "d90plus": 0
      }
    }
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Get a partner #

GET/api/public/v1/quosuite/partners/{id}
Scope : partners:readgetPartner

Record, contacts, addresses and financial position (outstanding, overdue, aging, credit limit).

Parameters

  • idstring (uuid)pathrequired

    Partner identifier.

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar

Response 200application/json

Success.

  • idstring (uuid)required
  • codestringrequired

    Unique code, assigned by the ERP when not provided.

    e.g.CLI-0042
  • typestringrequired

    CLIENT, SUPPLIER or BOTH.

    valuesCLIENTSUPPLIERBOTH
  • typeLabelstringrequired
    e.g.Client
  • kindstringrequired
    valuesINDIVIDUALCOMPANY
  • namestringrequired
    e.g.Société Exemple SARL
  • emailstring | null
  • phonestring | null
  • mobilestring | null
  • addressstring | null
  • citystring | null
  • countrystring | null
    e.g.TN
  • taxIdstring | null

    Tax ID / VAT number.

  • legalFormstring | null
  • tradeRegisterstring | null
  • tradeNamestring | null

    Trade name.

  • managerNamestring | null

    Name of the person in charge (manager, director).

  • categorystring | null
  • tagsstring[]required
  • currencystringrequired

    Partner's usual currency.

    e.g.TND
  • paymentTermsDaysnumberrequired

    Payment terms (days).

    e.g.30
  • creditLimitnumberrequired

    Credit limit (0 = unlimited), partner currency.

    e.g.10000
  • defaultDiscountPercentnumberrequired

    Default discount (%).

    e.g.0
  • preferredPaymentMethodstring | null
    valuesCASHCHECKDRAFTTRANSFERCARDLOYALTYBALANCECREDITOTHER
  • accountBalancenumberrequired

    Partner account balance (advances paid, credit notes credited), partner currency.

    e.g.0
  • bankBankDetailsDtorequired
    BankDetailsDto details
  • archivedbooleanrequired

    Archived (soft delete).

  • createdAtstringrequired
  • updatedAtstringrequired
  • contactsPartnerContactDto[]required
    PartnerContactDto details
  • addressesPartnerAddressDto[]required
    PartnerAddressDto details
  • financialsPartnerFinancialsDtorequired
    PartnerFinancialsDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/partners/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "id": "006ce7c6-d389-43c0-8435-59136cb6ead1",
    "code": "CLI-0042",
    "type": "CLIENT",
    "typeLabel": "Client",
    "kind": "INDIVIDUAL",
    "name": "Société Exemple SARL",
    "email": null,
    "phone": null,
    "mobile": null,
    "address": null,
    "city": null,
    "country": "TN",
    "taxId": "ce4ef841-d41d-4f12-8237-fcd48e819555",
    "legalForm": null,
    "tradeRegister": null,
    "tradeName": null,
    "managerName": null,
    "category": null,
    "tags": [
      "string"
    ],
    "currency": "TND",
    "paymentTermsDays": 30,
    "creditLimit": 10000,
    "defaultDiscountPercent": 0,
    "preferredPaymentMethod": "CASH",
    "accountBalance": 0,
    "bank": {
      "bankName": null,
      "iban": "TN5904018104003691234567",
      "bic": null,
      "accountHolder": null
    },
    "archived": true,
    "createdAt": "2026-10-02T09:15:00.000Z",
    "updatedAt": "2026-10-02T09:15:00.000Z",
    "contacts": [
      {
        "id": "ebe7b025-2fbf-41b2-8983-ddb8b77c8d3d",
        "name": "Sarra Ben Ali",
        "role": "Comptabilité",
        "email": null,
        "phone": null,
        "mobile": null,
        "notes": null,
        "isPrimary": true,
        "updatedAt": "2026-10-02T09:15:00.000Z"
      }
    ],
    "addresses": [
      {
        "id": "0f77a31d-3027-4892-8542-16dc3f280949",
        "kind": "BILLING",
        "label": null,
        "address": "string",
        "city": null,
        "postalCode": null,
        "country": null,
        "isDefault": true
      }
    ],
    "financials": {
      "unpaidTotal": 1191,
      "overdueTotal": 0,
      "creditExceeded": false,
      "aging": {
        "d0_30": 0,
        "d30_60": 0,
        "d60_90": 0,
        "d90plus": 0
      }
    }
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Update a partner #

PATCH/api/public/v1/quosuite/partners/{id}
Scope : partners:writeupdatePartner

Partial update; the code does not change.

Parameters

  • idstring (uuid)pathrequired

    Partner identifier.

Request body application/json

  • typestring
    valuesCLIENTSUPPLIERBOTH
  • namestring
    e.g.Société Exemple SARL
  • kindstring
    valuesINDIVIDUALCOMPANYdefault"COMPANY"
  • emailstring
    e.g.contact@exemple.tn
  • phonestring
  • mobilestring
  • addressstring
  • citystring
  • countrystring
    e.g.TN
  • taxIdstring

    Tax ID / VAT number.

  • legalFormstring
  • tradeRegisterstring
  • tradeNamestring

    Trade name.

  • managerNamestring

    Name of the person in charge (manager, director).

  • categorystring
  • tagsstring[]
  • currencystring
    e.g.TND
  • paymentTermsDaysnumber
    min.0max.365e.g.30
  • creditLimitnumber
    min.0e.g.10000
  • defaultDiscountPercentnumber
    min.0max.100e.g.5
  • preferredPaymentMethodstring
    valuesCASHCHECKDRAFTTRANSFERCARDLOYALTYBALANCECREDITOTHER
  • bankNamestring
  • bankIbanstring
  • bankBicstring
  • bankAccountHolderstring

Response 200application/json

Success.

  • idstring (uuid)required
  • codestringrequired

    Unique code, assigned by the ERP when not provided.

    e.g.CLI-0042
  • typestringrequired

    CLIENT, SUPPLIER or BOTH.

    valuesCLIENTSUPPLIERBOTH
  • typeLabelstringrequired
    e.g.Client
  • kindstringrequired
    valuesINDIVIDUALCOMPANY
  • namestringrequired
    e.g.Société Exemple SARL
  • emailstring | null
  • phonestring | null
  • mobilestring | null
  • addressstring | null
  • citystring | null
  • countrystring | null
    e.g.TN
  • taxIdstring | null

    Tax ID / VAT number.

  • legalFormstring | null
  • tradeRegisterstring | null
  • tradeNamestring | null

    Trade name.

  • managerNamestring | null

    Name of the person in charge (manager, director).

  • categorystring | null
  • tagsstring[]required
  • currencystringrequired

    Partner's usual currency.

    e.g.TND
  • paymentTermsDaysnumberrequired

    Payment terms (days).

    e.g.30
  • creditLimitnumberrequired

    Credit limit (0 = unlimited), partner currency.

    e.g.10000
  • defaultDiscountPercentnumberrequired

    Default discount (%).

    e.g.0
  • preferredPaymentMethodstring | null
    valuesCASHCHECKDRAFTTRANSFERCARDLOYALTYBALANCECREDITOTHER
  • accountBalancenumberrequired

    Partner account balance (advances paid, credit notes credited), partner currency.

    e.g.0
  • bankBankDetailsDtorequired
    BankDetailsDto details
  • archivedbooleanrequired

    Archived (soft delete).

  • createdAtstringrequired
  • updatedAtstringrequired
  • contactsPartnerContactDto[]required
    PartnerContactDto details
  • addressesPartnerAddressDto[]required
    PartnerAddressDto details
  • financialsPartnerFinancialsDtorequired
    PartnerFinancialsDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl -X PATCH 'https://quosuite.com/api/public/v1/quosuite/partners/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Société Exemple SARL",
  "email": "contact@exemple.tn",
  "country": "TN",
  "currency": "TND",
  "paymentTermsDays": 30,
  "creditLimit": 10000,
  "defaultDiscountPercent": 5
}'
Response example
{
  "success": true,
  "data": {
    "id": "006ce7c6-d389-43c0-8435-59136cb6ead1",
    "code": "CLI-0042",
    "type": "CLIENT",
    "typeLabel": "Client",
    "kind": "INDIVIDUAL",
    "name": "Société Exemple SARL",
    "email": null,
    "phone": null,
    "mobile": null,
    "address": null,
    "city": null,
    "country": "TN",
    "taxId": "ce4ef841-d41d-4f12-8237-fcd48e819555",
    "legalForm": null,
    "tradeRegister": null,
    "tradeName": null,
    "managerName": null,
    "category": null,
    "tags": [
      "string"
    ],
    "currency": "TND",
    "paymentTermsDays": 30,
    "creditLimit": 10000,
    "defaultDiscountPercent": 0,
    "preferredPaymentMethod": "CASH",
    "accountBalance": 0,
    "bank": {
      "bankName": null,
      "iban": "TN5904018104003691234567",
      "bic": null,
      "accountHolder": null
    },
    "archived": true,
    "createdAt": "2026-10-02T09:15:00.000Z",
    "updatedAt": "2026-10-02T09:15:00.000Z",
    "contacts": [
      {
        "id": "ebe7b025-2fbf-41b2-8983-ddb8b77c8d3d",
        "name": "Sarra Ben Ali",
        "role": "Comptabilité",
        "email": null,
        "phone": null,
        "mobile": null,
        "notes": null,
        "isPrimary": true,
        "updatedAt": "2026-10-02T09:15:00.000Z"
      }
    ],
    "addresses": [
      {
        "id": "0f77a31d-3027-4892-8542-16dc3f280949",
        "kind": "BILLING",
        "label": null,
        "address": "string",
        "city": null,
        "postalCode": null,
        "country": null,
        "isDefault": true
      }
    ],
    "financials": {
      "unpaidTotal": 1191,
      "overdueTotal": 0,
      "creditExceeded": false,
      "aging": {
        "d0_30": 0,
        "d30_60": 0,
        "d60_90": 0,
        "d90plus": 0
      }
    }
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Partner contacts #

GET/api/public/v1/quosuite/partners/{id}/contacts
Scope : partners:readlistPartnerContacts

Parameters

  • idstring (uuid)pathrequired

    Partner identifier.

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar

Response 200application/json

Success.

  • itemsPartnerContactDto[]required
    PartnerContactDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/partners/aac39e3a-0c40-44b2-8697-b597f357c5a9/contacts' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "ebe7b025-2fbf-41b2-8983-ddb8b77c8d3d",
        "name": "Sarra Ben Ali",
        "role": "Comptabilité",
        "email": null,
        "phone": null,
        "mobile": null,
        "notes": null,
        "isPrimary": true,
        "updatedAt": "2026-10-02T09:15:00.000Z"
      }
    ]
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Add a contact to a partner #

POST/api/public/v1/quosuite/partners/{id}/contacts
Scope : partners:writeIdempotentcreatePartnerContact

Parameters

  • idstring (uuid)pathrequired

    Partner identifier.

  • Idempotency-Keystringheader

    Idempotency key (1–255 printable ASCII characters, UUID v4 recommended). A retry with the same key and the same body within 24 h replays the response of the first successful call (header Idempotent-Replayed: true) instead of creating a second time. Same key, different body: 422 IDEMPOTENCY_KEY_REUSED. First call still in progress: 409 IDEMPOTENCY_IN_PROGRESS.

Request body application/json

  • namestringrequired
    e.g.Sarra Ben Ali
  • rolestring
    e.g.Comptabilité
  • emailstring
  • phonestring
  • mobilestring
  • notesstring
  • isPrimaryboolean

    Main contact (replaces the previous one).

    defaultfalse

Response 201application/json

Created.

  • idstring (uuid)required
  • namestringrequired
    e.g.Sarra Ben Ali
  • rolestring | null
    e.g.Comptabilité
  • emailstring | null
  • phonestring | null
  • mobilestring | null
  • notesstring | null
  • isPrimarybooleanrequired
  • updatedAtstringrequired

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

402PLAN_QUOTA_EXCEEDEDFEATURE_NOT_INCLUDEDMODULE_NOT_INCLUDED

Subscription plan limit or option (monthly document quota, multi-currency…).

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

404NOT_FOUND

Resource not found — or belonging to another workspace, which amounts to the same.

409CONFLICTIDEMPOTENCY_IN_PROGRESS

Conflict: unique value already taken, or same idempotency key still in progress.

422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED

Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/partners/aac39e3a-0c40-44b2-8697-b597f357c5a9/contacts' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY" \
  -H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Sarra Ben Ali"
}'
Response example
{
  "success": true,
  "data": {
    "id": "ebe7b025-2fbf-41b2-8983-ddb8b77c8d3d",
    "name": "Sarra Ben Ali",
    "role": "Comptabilité",
    "email": null,
    "phone": null,
    "mobile": null,
    "notes": null,
    "isPrimary": true,
    "updatedAt": "2026-10-02T09:15:00.000Z"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}

Generated from the QuoSuite API OpenAPI contract v1.0.0.