ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  invoices: any;
                  pagination: { page: number; limit: number; total: any; pages: number };
              },
          >,
      >

      /api/sales/invoices: post: tags: [Sales, Invoices] summary: Crée une nouvelle facture description: Crée une nouvelle facture requestBody: required: true content: application/json: schema: type: object responses: 201: description: Créé avec succès content: application/json: schema: type: object 400: description: Données invalides content: application/json: schema: $ref: '#/components/schemas/Error' 401: description: Non autorisé content: application/json: schema: $ref: '#/components/schemas/Error' 500: description: Erreur serveur content: application/json: schema: $ref: '#/components/schemas/Error'