Draft
Returns a customer's invoices.
Method used: POST
Invoices: /api/tfc/v1/CustomerFinancialTransactions/Invoices
Body parameters:
Attribute | Type | Description | Default |
---|---|---|---|
customerId | Character | Customer code | - |
storeId | Character | Customer store | - |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="325f10b3-e340-4980-b691-8fa5921194ab"><ac:plain-text-body><![CDATA[
filter | Array | filter array [field, operator, value] |
-
filter array [field, operator, value] | |||
branchId | Array | system branches to be considered in the query | - |
Example:body
body = { |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a277b2a4-6550-4fb2-9074-3766fd4e16ef"><ac:plain-text-body><![CDATA[
: "FAT001", |
|
|
|
]]></ac:plain-text-body></ac:structured-macro>
|
Json Object
Attribute | Type | Description |
---|---|---|
items | Array | list of invoices |
hasNext | Logical | true if there is a next page |
Field list:
...
Attribute
...
Attribute | Description |
---|---|
invoiceNumber | Number of the document |
invoiceSerie | Document Series |
invoiceValue | valor |
invoiceCurrency | moeda |
invoiceBranch | source branch |
issueDate | data |
Example:response
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9ea0eca5-2a70-4049-81b3-cadb58f61b27"><ac:plain-text-body><![CDATA[
{ |
1 |
1 |
|