@tennac-booking/sdk
Version:
OpenAPI client for @tennac-booking/sdk
62 lines (54 loc) • 2.83 kB
Markdown
# ClientInvoiceResponse
Facture de plateforme d\'un ClientAccount (abonnements, paiements)
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | ID de la facture | [default to undefined]
**clientAccountId** | **string** | ID du compte client | [default to undefined]
**userId** | **string** | ID de l\'utilisateur | [default to undefined]
**stripeInvoiceId** | **string** | ID de la facture Stripe | [default to undefined]
**stripeCustomerId** | **string** | ID du customer Stripe | [default to undefined]
**stripePaymentIntentId** | **string** | ID du PaymentIntent Stripe (optionnel) | [optional] [default to undefined]
**stripeSubscriptionId** | **string** | ID de l\'abonnement Stripe (optionnel) | [optional] [default to undefined]
**stripeInvoiceUrl** | **string** | URL publique de la facture Stripe (optionnel) | [optional] [default to undefined]
**stripeInvoicePdf** | **string** | URL du PDF de la facture Stripe (optionnel) | [optional] [default to undefined]
**amount** | **number** | Montant total de la facture en centimes | [default to undefined]
**amountPaid** | **number** | Montant payé en centimes | [default to undefined]
**currency** | **string** | Devise (ex: \"eur\", \"usd\") | [default to undefined]
**status** | **string** | Statut de la facture (draft, open, paid, void, uncollectible) | [default to undefined]
**description** | **string** | Description de la facture | [optional] [default to undefined]
**dueDate** | **string** | Date d\'échéance | [optional] [default to undefined]
**paidAt** | **string** | Date de paiement | [optional] [default to undefined]
**periodStart** | **string** | Début de la période couverte | [optional] [default to undefined]
**periodEnd** | **string** | Fin de la période couverte | [optional] [default to undefined]
**invoiceNumber** | **string** | Numéro de facture Stripe (ex: \"INV-2024-001\") | [optional] [default to undefined]
**createdAt** | **string** | Date de création | [default to undefined]
**updatedAt** | **string** | Date de mise à jour | [default to undefined]
## Example
```typescript
import { ClientInvoiceResponse } from '@tennac-booking/sdk';
const instance: ClientInvoiceResponse = {
id,
clientAccountId,
userId,
stripeInvoiceId,
stripeCustomerId,
stripePaymentIntentId,
stripeSubscriptionId,
stripeInvoiceUrl,
stripeInvoicePdf,
amount,
amountPaid,
currency,
status,
description,
dueDate,
paidAt,
periodStart,
periodEnd,
invoiceNumber,
createdAt,
updatedAt,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)