API Document Lines / CST Code
CST Code Property


Sets or returns the CST Code for Document. This is a foreign key to the NotaFiscalCST object that enables to define CST codes for Nota Fiscal. The NotaFiscalCST object is applicable for cluster B only (country-specific for Brazil only).

Field name: CSTCode.

Length: 4 characters.

Property type

Read-write property


Visual Basic
Public Property CSTCode() As String


CST is a required code by the Nota Fiscal and describes the tributary situation of an item for the ICMS (state tax).

CST is composed of two parts, where the first part indicates the origin of the merchandise and the second part indicates the specific taxation.

The CST code must be assigned at the line level, as a different code can exist for each item. Need to maintain a table of CST values that will be suggested by the system.

See Also

Related information

Batch Numbers BatchNumbers Object· Table: OBTN BTNT
BatchNumbers is a business object that represents the batch numbers of an item in the Inventory and Production module. This object enables you to add batch numbers for a selected item row (one record per item). Source table: OBTN, OBTW, OITL,...
   Parent: Document Lines Document_Lines Object· Table: IGE1 IGN1

SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates