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

      • request: NextRequest
      • __namedParameters: { params: Promise<{ id: string }> }

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  currency: { code: string; id: string; symbol: string }
                  | null;
                  invoice:
                      | {
                          client: { code: string; id: string; name: string };
                          clientId: string;
                          currency: { code: string; id: string; symbol: string } | null;
                          id: string;
                          number: string;
                          paidAmount: number;
                          remainingAmount: number;
                          status: InvoiceStatus;
                          totalAmount: number;
                      }
                      | null;
              } & {},
          >,
      >