# SOI_HDR: Sales invoices - Name: `SOI_HDR` - Catalog: `AccountView` - Label: Sales invoices - Partition-specific: true - Select: true - Insert: false - Update: false - Delete: false ## Table Columns The columns of the table `SOI_HDR` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `ACCT_NAME` | `string(40)` | Company name | ☐ | | | `ADDRESS1` | `string(80)` | Address | ☐ | | | `AG_PAYREF` | `string(19)` | Acceptgiro payment reference | ☐ | | | `APX_LIST` | `string(5)` | Price list item prices | ☐ | | | `ART_DATE_W` | `string(40)` | Invoice order date written out | ☐ | | | `ASS_CODE` | `string(10)` | Serial number | ☐ | | | `AUTH_HIST` | `string(4)` | Approval history | ☐ | | | `AVG_VAT` | `int64` | Average VAT percentage invoice | ☐ | | | `BLK_AMT` | `int64` | G-account amount | ☐ | | | `BV_AMT` | `int64` | UWV amount | ☐ | | | `CITY` | `string(35)` | City | ☐ | | | `CNG_DATE` | `datetime` | Date modified | ☐ | | | `CNG_NR` | `int32` | Change number | ☐ | | | `CNG_USR` | `string(20)` | Employee last modified | ☐ | | | `CNT_CODE` | `string(2)` | ISO country code | ☐ | | | `COMMENT1` | `string(40)` | Order reference | ☐ | | | `COMMENT2` | `string(4)` | External note | ☐ | | | `COMMENT3` | `string(4)` | Internal note | ☐ | | | `COST_CODE` | `string(10)` | Cost centre code | ☐ | | | `COUNTRY` | `string(30)` | Country | ☐ | | | `CRED_DAYS` | `decimal` | Payment term in days | ☐ | | | `CRED_LIM_P` | `decimal` | Credit limitation percentage invoice | ☐ | | | `CUR_CODE` | `string(3)` | Currency code | ☐ | | | `CUR_UNIT` | `int64` | Currency unit invoice | ☐ | | | `DD_ACT` | `boolean` | Direct debit | ☐ | | | `DEL_ADDR` | `string(4)` | Shipping address | ☐ | | | `DEL_CODE` | `string(10)` | Delivery address code | ☐ | | | `DEL_CP` | `string(40)` | Shipping customer contact | ☐ | | | `DEL_DATE` | `datetime` | Delivery date | ☐ | | | `DEL_PP` | `string(10)` | Shipping customer contact | ☐ | | | `DEL_PP_OMS` | `string(40)` | Shipping customer contact name | ☐ | | | `DEL_WEEK` | `int32` | Delivery date (week) | ☐ | | | `DISC_CODE` | `string(2)` | Payment term code | ☐ | | | `DISC_DAYS` | `decimal` | Discount term in days | ☐ | | | `DISC_DESC` | `string(40)` | Payment term description | ☐ | | | `DOC_NR` | `string(10)` | Invoice page number | ☐ | | | `EMP_NR` | `string(10)` | Salesperson | ☐ | | | `EXCH_RATE` | `decimal` | Exchange rate | ☐ | | | `EXCHA_RATE` | `decimal` | Exchange rate | ☐ | | | `EXP_DATE` | `datetime` | Due date | ☐ | | | `EXP_WEEK` | `int32` | Due date (week) | ☐ | | | `EXT_ID` | `string(32)` | External import number | ☐ | | | `EXT_TYPE` | `int32` | Import type | ☐ | | | `GROSS_FLG` | `boolean` | Show base amount incl. VAT | ☐ | | | `INP_DATE` | `datetime` | Entry date | ☐ | | | `INP_USR` | `string(20)` | Entered by employee | ☐ | | | `INV_ADDR` | `string(4)` | Invoice address in country-specific layout | ☐ | | | `INV_CP` | `string(40)` | Invoice customer contact | ☐ | | | `INV_DATE` | `datetime` | Invoice date | ☐ | | | `INV_NR` | `string(10)` | Invoice number | ☐ | | | `INV_PP` | `string(10)` | Invoice customer contact | ☐ | | | `INV_PP_OMS` | `string(40)` | Invoice customer contact name | ☐ | | | `INV_WEEK` | `int32` | Invoice date (week) | ☐ | | | `LB_AMT` | `int64` | Payroll tax amount | ☐ | | | `LNG_CODE` | `string(5)` | Language code | ☐ | | | `MAND_B2B` | `boolean` | Direct debit type: business | ☐ | | | `MAND_DATE` | `datetime` | Signature date | ☐ | | | `MAND_ID` | `string(35)` | Direct debit mandate reference | ☐ | | | `MAND_SEQ` | `int32` | Direct debit mandate | ☐ | | | `ORD_COST` | `int64` | Order costs | ☐ | | | `ORD_DATE` | `datetime` | Sales order date | ☐ | | | `ORD_KEEP` | `boolean` | Recurring invoice | ☐ | | | `ORD_NR` | `string(10)` | Sales order no. | ☐ | | | `ORD_STAT` | `decimal` | Approval stage | ☐ | | | `ORD_TOT` | `int64` | Total | ☐ | | | `ORD_WEEK` | `int32` | Sales order date (week) | ☐ | | | `PAC_NR` | `string(10)` | Delivery note number | ☐ | | | `PAGE_BLK` | `boolean` | Invoice blocked | ☐ | | | `partition_code` | `string` | Partition code | ☑ | | | `partition_name` | `string` | Partition name | ☑ | | | `PAY_AMT` | `int64` | Deposit amount | ☐ | | | `PCT_LIST` | `string(5)` | Discount percentages price list | ☐ | | | `PD_AMT` | `int64` | Payment discount amount | ☐ | | | `PD_PCT` | `decimal` | Payment discount percentage | ☐ | | | `PD_VAT` | `int64` | VAT on payment discount | ☐ | | | `PO_BOX` | `string(80)` | Postal address | ☐ | | | `PO_CITY` | `string(35)` | Postal address city | ☐ | | | `PO_CODE` | `string(10)` | Postal address postcode | ☐ | | | `POST_CODE` | `string(10)` | Postcode | ☐ | | | `PROJ_CODE` | `string(10)` | Project code | ☐ | | | `QT_ORD_NR` | `string(10)` | Quotation number | ☐ | | | `RPL_D_OMS` | `string(40)` | Shipping customer name | ☐ | | | `RPL_DEL` | `string(10)` | Shipping customer | ☐ | | | `RPL_I_OMS` | `string(40)` | Invoice customer name | ☐ | | | `RPL_INV` | `string(10)` | Invoice customer | ☐ | | | `SALES_PERS` | `string(40)` | Salesperson | ☐ | | | `SBS_NR` | `string(10)` | Subscription | ☐ | | | `SEL_CODE` | `string(5)` | Selection code | ☐ | | | `SHIP_COST` | `int64` | Transport costs | ☐ | | | `SHIP_DESC` | `string(40)` | Transport method description | ☐ | | | `SHIP_MTH` | `string(10)` | Transport method | ☐ | | | `SOH_TYPE` | `int32` | Invoice type | ☐ | | | `SRC_TYPE` | `decimal` | Source | ☐ | | | `ST_EXTRA` | `string(10)` | Address addition | ☐ | | | `ST_NR` | `string(10)` | House number | ☐ | | | `ST_PROP` | `string(40)` | Building | ☐ | | | `ST_REGION` | `string(40)` | Address region | ☐ | | | `ST_STREET` | `string(60)` | Street | ☐ | | | `SUB_TOT` | `int64` | Total excl. VAT and payment discount | ☐ | | | `SUB_TOT_EU` | `int64` | Total excl. VAT and payment discount in euros | ☐ | | | `SUBT_M_DIS` | `int64` | Subtotal invoice (excl. payment discount) | ☐ | | | `SUBT_P_DIS` | `int64` | Subtotal invoice (incl. payment discount) | ☐ | | | `SUBT_P_VAT` | `int64` | Subtotal invoice (incl. VAT) | ☐ | | | `TO_PAY` | `int64` | Still to be paid | ☐ | | | `TOT_ADM` | `int64` | Invoice total in administration currency | ☐ | | | `TOT_EUR` | `int64` | Invoice total in euros | ☐ | | | `TOT_HOME` | `int64` | Invoice total in country currency | ☐ | | | `TRN_BOOK` | `boolean` | Process as accrual | ☐ | | | `TRN_CNT` | `int32` | Number of periods accrual processing | ☐ | | | `TRN_START` | `int32` | Start period accrual processing | ☐ | | | `VAT_ORD` | `int64` | VAT amount order costs | ☐ | | | `VAT_SHIP` | `int64` | VAT amount transport costs | ☐ | | | `VAT_TOT` | `int64` | VAT total | ☐ | | | `VAT_TOT_DI` | `int64` | VAT amount invoice | ☐ | | | `VAT_TOT_EU` | `int64` | VAT total in euros | ☐ | | | `VC_ORD` | `string(2)` | VAT code order costs | ☐ | | | `VC_SHIP` | `string(2)` | VAT code transport costs | ☐ | | | `WAGE_SH` | `int64` | Wage share | ☐ | |