ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • GET /api/edi/documents/invoices Récupère les Invoices filtrées par client

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  documents: {
                      client: { code: string; id: string; name: string };
                      clientId: string;
                      createdAt: Date;
                      currency: { code: string; id: string; symbol: string } | null;
                      dueDate: Date | null;
                      id: string;
                      invoiceDate: Date;
                      number: string;
                      status: InvoiceStatus;
                      totalAmount: number;
                  }[];
                  count: number;
              },
          >,
      >