Appearance
Sales & Invoicing
These services handle sales invoice creation, management, and retrieval. The XMLSalesInvoice service provides full invoice data with inline lines, while AMZSMobileSalesInvoices offers a simplified view.
XMLSalesInvoice
Namespace: urn:microsoft-dynamics-schemas/page/xmlsalesinvoiceEndpoint: Page/XMLSalesInvoiceType: Full CRUD Read key: No (String)
Custom Method
This service exposes an additional custom method Delete_SalesInvLines beyond the standard CRUD operations.
Large Entity
This is a massive entity with approximately 227+ fields, including inline invoice lines. Responses can be very large. Use targeted filters whenever possible.
Key Entity Fields
| Field | Type | Description |
|---|---|---|
| Key | String | NAV internal key |
| No | String | Invoice number (primary key) |
| Pre_Assigned_No | String | Pre-assigned invoice number |
| Sell_to_Customer_No | String | Sell-to customer number |
| Sell_to_Customer_Name | String | Sell-to customer name |
| Bill_to_Customer_No | String | Bill-to customer number |
| Bill_to_Name | String | Bill-to customer name |
| Sell_to_Address | String | Sell-to street address |
| Sell_to_City | String | Sell-to city |
| Sell_to_Post_Code | String | Sell-to postal code |
| Posting_Date | Date | Accounting posting date |
| Order_Date | Date | Order creation date |
| Document_Date | Date | Document date |
| Payment_Method_Code | String | Payment method code |
| Payment_Terms_Code | String | Payment terms code |
| Amount | BigDecimal | Invoice amount excluding VAT |
| Amount_Including_VAT | BigDecimal | Invoice amount including VAT |
| VAT_Registration_No | String | Customer VAT registration number |
| User_ID | String | Creating user identifier |
| Fiscal_SI_Issue_Date | Date | Slovenian fiscal issue date |
| Responsibility_Center | String | Organizational responsibility center |
| Work_Order_No | String | Associated work order number |
Inline Sales Lines
The entity includes inline Sales_Line records with the following structure:
| Field | Type | Description |
|---|---|---|
| Type | Enum | Line type (Item, Resource, etc.) |
| No | String | Item or resource number |
| Description | String | Line item description |
| Quantity | BigDecimal | Quantity |
| Unit_Price | BigDecimal | Price per unit |
Common Filter Patterns
The application uses the following filter patterns when querying this service:
Invoices for a Work Order:
Filter by Pre_Assigned_No = {workOrderNo}Invoices for Current User (last 7 days):
Filter by User_ID = {currentUserId}
Filter by Fiscal_SI_Issue_Date = {7-day window from today}AMZSMobileSalesInvoices
Namespace: urn:microsoft-dynamics-schemas/page/amzsmobilesalesinvoicesEndpoint: Page/AMZSMobileSalesInvoicesType: Full CRUD Read key: No (String)
This is a simplified invoice view designed for mobile display. It contains only the essential header fields without inline line items.
Entity Fields
| Field | Type | Description |
|---|---|---|
| Key | String | NAV internal key |
| No | String | Invoice number (primary key) |
| Sell_to_Customer_No | String | Sell-to customer number |
| Sell_to_Customer_Name | String | Sell-to customer name |
| Sell_to_Customer_Name_2 | String | Extended customer name |
| Sell_to_Address | String | Sell-to street address |
| Sell_to_Address_2 | String | Extended address line |
| Sell_to_City | String | Sell-to city |
| Sell_to_Contact | String | Sell-to contact person |
| Sell_to_Post_Code | String | Sell-to postal code |
| Sell_to_County | String | Sell-to county/region |
| Sell_to_Country_Region_Code | String | Sell-to country code |
| User_ID | String | Creating user identifier |
| Amount | BigDecimal | Invoice amount excluding VAT |
| Amount_Including_VAT | BigDecimal | Invoice amount including VAT |
| VAT_Registration_No | String | Customer VAT registration number |
| Responsibility_Center | String | Organizational responsibility center |