Sales report as flat file format 1.4

1. Document information

Message typeDateVersionSubsets
Sales report03.05.20161.3Flat file
 30.03.20201.4Flat file

2. Format and content

beeline GmbH offers a flat file format for the sales data transfer. This format is based on rows and separates the itemized data with a semicolon.
Below description shows some optional information which may currently only be provided for our brand TOSH. All other brands to follow soon.
We expect the fields in the following order without headlines and position descriptions:

 Pos 

 Type 

 Format 

 Description/Remarks

 Examples

Must/Optional

1GLNan13GLN or Pseudo-GLN of the partner´s store4016632000000M
2Datean..35Date of sale/return
Format: YYYYMMDDHHMMSS
Alternative Format: YYYYMMDD
20150428092659

20150428

M
3Article definition an..35GTIN article code

4016632118279

M
4Brand IDn..2Brand ID
1 = SIX
2 = ACC/White Label
3 = IAM
5 = TOSH
1O
5Quantityan..15Quantity of articles for each retail price. Returns need to be indicated with negative quantity. If negative quantity is indicated, please fill in Pos 131M
6Gross selling pricen..15Single selling price (minus sales discount and incl. VAT), always positive even for returned quantities5,95 or 5.95M
7Currencyan3Currency code ISO 4217EURM
8Cash desk number an..10Identifier of cash desk/till1234567890O
9Discount typen..4Type of discount if price is reduced in Pos 5, blanc if no discount applies.
1 = Employee discount
2 = Customer discount
1O
10Promoan..1In case of promotion took place, please indicate promo number
0 = no
1 = yes
1O
11Promo Typean..4

Promotion type in case promotion took place, Pos 9 is filled.

4O
12Customer reference an...40Please indicate reference to be linked to, e.g. purchase Order ID, Receiving Note ID...123456gfh0147258369g123456gfh0147258369gO
13Receipt number an..20Cash desk / till receipt number12345678901234567890O
14Retoure reason n..4Reason of return, pleae indicate in case pos 4 is negativeDid Not Meet Customer’s Expectations.O

The specification at position 1 must always be 13 characters long, as is the case with a GLN. If no GLN exists, you can use a store numberer that is extended to 13 characters by a prefix agreed with beeline (more information on this pseudo GLN here).
If a GTIN is specified in position 3, position 4 can remain empty.

3. sample sales report in flatfile format:

Flatfile sales report 
Flatfile sales report with timestamp 

Test Barcodes (matching sample messages)

4. Return OF SINGLE SALE

For returned articles return, the indicated amount needs to be negative. The price indication must be positive.

Example:

4016632000000;20061231;4016632118279;;-2;5,95;EUR

In combination with articles which are returned, it is necessary to quote the price and the discount price, too.

5. Legend of the flat file format

Element

Definition

Example

Format  
nnumericn3 = exact 3 numeric positions
n...35 = up to 35 numeric positions
analphanumerican12 = exakt 12 alphanumeric positions
an...35 = bis zu 35 alphanumeric positions
Status  
MmustM
OoptionalO