Páginas filhas
  • NGF - Customer Panel - Endpoint InvoiceProducts

01. OVERVIEW

Returns the invoice products.

02. ENDPOINT

Method used: POST
InvoiceProducts: /api/tfc/v1/CustomerFinancialTransactions/InvoiceProducts

03. REQUEST PARAMETERS

Body parameters:

Attribute

Type

Description

Default

customerId

Character

Customer code

-

storeId

Character

Customer store

-

branchId

Array

Invoice branch

-

invoiceNumber

Character

invoice number

-

serie

Character

invoice series

-

Example:

body

body = {    

branchId: "D MG 01 ",  

invoiceNumber: "000000001",   

serie: "004",    

customerId: "CLI003",   

storeId: "01"

}

04. API RESPONSE

Json Object

Attribute

Type

Description

items

Array

list of invoices

hasNext

Logical

true if there is a next page

Field list:

Attribute

Description

productAmount

quantity of the product

productTotal

Total value

productItem

Invoice Item

productDescription

Product Description

productUnit

Unit Value

Example: response

{   
items: [       
  {            
productAmount: 10,            

productTotal: 10,            

productItem: "01",            

productDescription: "RAW MATERIAL",            

productUnit: 1        
}    
],    
hasNext: false
}
  • Sem rótulos