Baloom
  1. API
Baloom
  • Developers
    • Créer une nouvelle application développeur
      POST
    • Lister toutes les applications développeur
      GET
    • Obtenir une application par ID
      GET
    • Mettre à jour une application
      PATCH
    • Supprimer une application
      DELETE
    • Créer une clé API pour une application
      POST
    • Lister les clés API d'une application
      GET
    • Révoquer une clé API
      POST
  • Webhooks
    • Créer un endpoint webhook
      POST
    • Lister les endpoints webhooks
      GET
    • Obtenir un endpoint webhook par ID
      GET
    • Mettre à jour un endpoint webhook
      PATCH
    • Supprimer un endpoint webhook
      DELETE
    • Obtenir l'historique des événements webhooks
      GET
  • API
    • Lister les produits
      GET
    • Obtenir un produit par ID
      GET
    • Lister les catégories
      GET
    • Obtenir une catégorie par ID
      GET
    • Lister les commandes
      GET
    • Obtenir une commande par ID
      GET
    • Lister les clients
      GET
    • Obtenir un client par ID
      GET
    • Lister les factures
      GET
    • Obtenir une facture par ID
      GET
  • Schemas
    • CreateApplicationDto
    • UpdateApplicationDto
    • DeveloperApplication
    • CreateApiKeyDto
    • ApiKey
    • Product
    • Category
    • Order
    • Customer
    • Invoice
    • PaginatedResponse
    • CreateWebhookEndpointDto
    • UpdateWebhookEndpointDto
    • WebhookEndpoint
    • WebhookEvent
    • WebhookPayload
    • Error
  1. API

Obtenir une facture par ID

GET
/api/invoices/{id}
Retourne les détails d'une facture spécifique

Request

Authorization
API Key
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
or
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Responses

🟢200OK
application/json
Détails de la facture
Body

🟠401Unauthorized
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/invoices/' \
--header 'X-API-Key: <api-key>'
Response Response Example
200 - Example 1
{
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
    "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
    "invoiceNumber": "string",
    "type": "SALE",
    "status": "DRAFT",
    "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
    "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",
    "totalAmount": 0,
    "subtotal": 0,
    "taxAmount": 0,
    "discountAmount": 0,
    "shippingAmount": 0,
    "dueDate": "2019-08-24T14:15:22.123Z",
    "paidAt": "2019-08-24T14:15:22.123Z",
    "createdAt": "2019-08-24T14:15:22.123Z",
    "updatedAt": "2019-08-24T14:15:22.123Z"
}
Modified at 2026-01-04 12:06:10
Previous
Lister les factures
Next
CreateApplicationDto
Built with