Create Global Entry

POST

Endpoint for adding a new sale to Global Entry. The sale is identified by the combination of Store, POS Unit and Document No. This combination must be unique for the sale to be added.

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects an object.
posStorestringRequired

Identification of the store

posUnitstringRequired

Identification of the POS unit

documentNostringRequired

Sales ticket no.

entryTimedatetimeRequired
entryTypeenumRequired
Allowed values: Direct SaleCredit Sale
postingDatedateRequired
fiscalNumberstringRequired
salesAmountdoubleRequired
discountAmountdoubleRequired
totalAmountExclVATdoubleRequired
totalAmountInclVATdoubleRequired
totalVATAmountdoubleRequired
companystringOptional
customerNostringOptional
salespersonstringOptional
currencyCodestringOptional
currencyFactordoubleOptional
salesLineslist of objectsOptional

List of sold items

paymentLineslist of objectsOptional

List of payments

posInfoslist of objectsOptional

List of Info entries

extensionFieldslist of objectsOptional

Additional data. Definition of fieldId and format of data in fieldValue have to be agreed with receiver of data

Response

This endpoint returns an object.
idUUID

Unique identifier of the added entry

Built with