pos > Global POS Entry

Create Global Entry

Changed on

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.

post/{tenant}/{environment}/{company}/pos/globalentry

Request

  • Base URL
    https://api.npretail.app
  • Auth
    API key in header x-np-api-key

Path parameters

tenantstring required

Your Entra Tenant ID. More details.

environmentstring required

Your Business Central Environment. More details.

companystring required

Your Business Central Company. More details.

Headers

x-api-versionstring date

Used for API versioning. More details.

Request body

posStorestring required

Identification of the store

posUnitstring required

Identification of the POS unit

documentNostring required

Sales ticket no.

companystring
entryTimestring date-time required
entryType'Direct Sale' | 'Credit Sale' required
customerNostring
postingDatestring date required
fiscalNumberstring required
salespersonstring
currencyCodestring
currencyFactornumber double
salesAmountnumber double required
discountAmountnumber double required
totalAmountExclVATnumber double required
totalAmountInclVATnumber double required
totalVATAmountnumber double required

Response

Response with status 200

idstring uuid required

Unique identifier of the added entry

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response's body type changed from no type to object for status

    • warning

      deleted the header request parameter x-np-api-key

    • info

      the endpoint scheme security NPApiKeyAuthScheme was added to the API

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the required property to the response with the status

    • info

      api operation id post-global-entry removed and replaced with pos_globalentry_postGlobalEntry