GET Companies({CompanyId})/SalesInvoiceDetails({InvoiceId})

Returns Details for the Sales Invoice Id provided

Information:

Base URL:

https://api.covasoft.net/pointofsale

Example of a call would be:

https://api.covasoft.net/pointofsale/Companies({CompanyId})/SalesInvoiceDetails({InvoiceId})

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

The unique Company Id that was provided in your onboarding pacakage.

integer

Required

InvoiceId

This is Sales Invoice Id Guid that you want details for

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Details for the Sales Order Id provided

GetSalesInvoiceByIdReturn
NameDescriptionTypeAdditional information
InStock

Collection of InStock

None.

Dropship

Collection of Object

None.

Payments

Payments

None.

Discounts

Object

None.

Id

globally unique identifier

None.

OriginalInvoiceId

Object

None.

LocationId

integer

None.

LocationName

string

None.

UserId

integer

None.

PrintableId

string

None.

ReceiptNumber

string

None.

OriginalPrintableId

Object

None.

OriginalReceiptNumber

Object

None.

Notes

string

None.

Annotation

string

None.

SaleOverrides

Object

None.

InvoiceType

string

None.

Customer

Customer

None.

TaxCalculation

TaxCalculation

None.

Loyalty

Loyalty

None.

CreatedByUser

string

None.

CreatedDateUtc

date

None.

Response Formats

application/json, text/json

Sample:
{
  "InStock": [
    {
      "No": 1,
      "CatalogId": "b80c25c6-92da-4110-8cef-7b4ac47f0638",
      "Name": "sample string 3",
      "SKU": "sample string 4",
      "SoldAtPrice": 5,
      "ListPrice": 6,
      "SalePrice": {},
      "Quantity": 8,
      "UnitId": 9,
      "UnitAbbreviation": {},
      "MeasurementType": {},
      "PackageNumber": "sample string 12",
      "Batch": "sample string 13",
      "SerialNumbers": [
        {},
        {}
      ],
      "Attributes": {
        "equivalent To": "sample string 1",
        "net Weight": "sample string 2",
        "retail Marijuana Product Type": "sample string 3"
      }
    },
    {
      "No": 1,
      "CatalogId": "b80c25c6-92da-4110-8cef-7b4ac47f0638",
      "Name": "sample string 3",
      "SKU": "sample string 4",
      "SoldAtPrice": 5,
      "ListPrice": 6,
      "SalePrice": {},
      "Quantity": 8,
      "UnitId": 9,
      "UnitAbbreviation": {},
      "MeasurementType": {},
      "PackageNumber": "sample string 12",
      "Batch": "sample string 13",
      "SerialNumbers": [
        {},
        {}
      ],
      "Attributes": {
        "equivalent To": "sample string 1",
        "net Weight": "sample string 2",
        "retail Marijuana Product Type": "sample string 3"
      }
    }
  ],
  "Dropship": [
    {},
    {}
  ],
  "Payments": {
    "Items": [
      {},
      {}
    ],
    "ChangeDue": 1,
    "CashBack": 2
  },
  "Discounts": {},
  "Id": "2466eca9-f053-4a46-92b2-79f3f3ee71bb",
  "OriginalInvoiceId": {},
  "LocationId": 4,
  "LocationName": "sample string 5",
  "UserId": 6,
  "PrintableId": "sample string 7",
  "ReceiptNumber": "sample string 8",
  "OriginalPrintableId": {},
  "OriginalReceiptNumber": {},
  "Notes": "sample string 11",
  "Annotation": "sample string 12",
  "SaleOverrides": {},
  "InvoiceType": "sample string 14",
  "Customer": {
    "Id": "972cccff-d4aa-4ac4-a018-46d42548903b",
    "Number": "sample string 2",
    "FullName": "sample string 3",
    "ShippingAddressId": {},
    "ShippingAddress": {},
    "BillingAddress": {},
    "BillingAddressId": {},
    "AddressId": {},
    "MedicalInformation": {}
  },
  "TaxCalculation": {
    "TaxCalculcationId": {},
    "Lines": [
      {
        "Tax": 1.1,
        "ExemptAmount": 2.1,
        "LineNumber": "sample string 3",
        "TaxDetails": [
          {
            "TaxId": "79b2c7eb-2173-4c0e-9b2f-2fdc34c9e512",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          },
          {
            "TaxId": "79b2c7eb-2173-4c0e-9b2f-2fdc34c9e512",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          }
        ]
      },
      {
        "Tax": 1.1,
        "ExemptAmount": 2.1,
        "LineNumber": "sample string 3",
        "TaxDetails": [
          {
            "TaxId": "79b2c7eb-2173-4c0e-9b2f-2fdc34c9e512",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          },
          {
            "TaxId": "79b2c7eb-2173-4c0e-9b2f-2fdc34c9e512",
            "Rate": 2.1,
            "TaxName": "sample string 3",
            "Tax": 4.1,
            "Exemptions": {
              "Total": 1.1,
              "Details": [
                {
                  "ExemptAmount": 1.1
                },
                {
                  "ExemptAmount": 1.1
                }
              ]
            },
            "TaxAuthorityType": {},
            "TaxType": "sample string 6",
            "Layer": 7
          }
        ]
      }
    ]
  },
  "Loyalty": {
    "PointsEarned": 1,
    "PointsBalance": 2
  },
  "CreatedByUser": "sample string 15",
  "CreatedDateUtc": "2024-11-07T08:38:20.0892995+00:00"
}