ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/sales/invoices/payments/route
GET
Function GET
GET
(
request
:
NextRequest
,
)
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
payments
:
(
{
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
invoice
:
|
{
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
currency
:
{
code
:
...
;
id
:
...
;
symbol
:
...
}
|
null
;
currencyId
:
string
|
null
;
id
:
string
;
number
:
string
;
paidAmount
:
number
;
remainingAmount
:
number
;
status
:
InvoiceStatus
;
totalAmount
:
number
;
}
|
null
;
}
&
{}
)
[]
;
pagination
:
{
page
:
number
;
limit
:
number
;
total
:
number
;
totalPages
:
number
;
}
;
}
,
>
,
>
GET /api/sales/invoices/payments Liste des paiements factures client, avec filtres et tri.
Parameters
request
:
NextRequest
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
payments
:
(
{
currency
:
{
code
:
string
;
id
:
string
;
symbol
:
string
}
|
null
;
invoice
:
|
{
client
:
{
code
:
string
;
id
:
string
;
name
:
string
}
;
currency
:
{
code
:
...
;
id
:
...
;
symbol
:
...
}
|
null
;
currencyId
:
string
|
null
;
id
:
string
;
number
:
string
;
paidAmount
:
number
;
remainingAmount
:
number
;
status
:
InvoiceStatus
;
totalAmount
:
number
;
}
|
null
;
}
&
{}
)
[]
;
pagination
:
{
page
:
number
;
limit
:
number
;
total
:
number
;
totalPages
:
number
;
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...
GET /api/sales/invoices/payments Liste des paiements factures client, avec filtres et tri.