With the release of AccountRight 2020.1, two changes were introduced to the API:
- Introduction of support for hybrid layout transactions.
- Adding additional fields to item and service lines within item, service and hybrid layouts.
Please Note: In order to use the hybrid layout via the API, this needs to enabled from within the file first.
To do this:
- Open the file in the web browser.
- Click on the business name in the top right.
- Select Sales settings. (for Purchases, select Purchase settings)
- Change the field layout to Service and Item.
Attention: Use of the freight fields is not supported for AccountRight, MYOB Business or Essentials when using the Hybrid Layout. If you need to have freight, then you will need to display it as a line item on the transaction.
Changes were made to the existing Item & Service endpoints. Additional properties have been be exposed for the Item & Service endpoints, see below:
Service Layout/Endpoint:
+UnitsOfMeasure - String (5)
+UnitCount - Decimal (13.6)
+UnitPrice - Decimal (13.6)
+UnitPriceForeign - Decimal (13.2)
+DiscountPercent - Double (99.99%)
ItemLayout/Endpoint:
+UnitsOfMeasure - String (5)
+UnitCount - Decimal (13.6)
+Account
+UID -Guid (36)
+Name -String (60)
+DisplayID - String (6)
+URI - String
How are Developers going to be impacted:
Service Layout
Ability to maintain unit of measure, count and price for invoice/quote/order/bill transactions will be available via the API.
Item Layout
Not only item lines, but also service line are allowed to be recorded if both UnitPrice and UnitCount are provided. This means an item layout transaction could be in following formats:
- An invoice/quote/bill contains only item line(s).
- An invoice/quote/bill contains item line(s) and service line(s). NEW
While these transactions will be editable within new Essentials and AccountRight Browser. It is important to note that these transactions will be read only when using the AccountRight Desktop application.
Valiation Errors that you may come accross:
Validation
|
Item & Account cannot both exist in the same line, failed with new validation |
{ |
|||
Item & Account cannot both null in the same line, failed with new validation |
{ |
||||
If hybrid layout is turn OFF, Account is not null in any of line, failed with new validation |
{ |
Code samples
Sale/Quote/Item | Sale/Quote/Service |
POST | POST |
{ "Number":"00000002", "Date":"2020-01-06T00:00:00", "ShipToAddress":"Test", "CustomerPurchaseOrderNumber":"", "Customer":{ "UID":"d9f94c34-59aa-4114-95ca-fd6011eb1b14", "Name":"Test", "DisplayID":"*None", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/Contact/Customer/d9f94c34-59aa-4114-95ca-fd6011eb1b14" }, "Terms":{ "PaymentIsDue":"InAGivenNumberOfDays", "DiscountDate":0, "BalanceDueDate":14, "DiscountForEarlyPayment":0.0, "MonthlyChargeForLatePayment":0.0, "DiscountExpiryDate":"2020-01-06T00:00:00", "Discount":0.0, "DueDate":"2020-01-20T00:00:00", "FinanceCharge":0.0 }, "IsTaxInclusive":false, "Lines":[ { "Type":"Transaction", "Description":"New Item", "ShipQuantity":2.000000, "UnitPrice":166.500000, "DiscountPercent":2.000000, "Total":326.340000, "UnitOfMeasure":"xxx", "UnitCount":1122, "Item":{ "UID":"5f4fb539-aa53-413a-a3bf-6cb84f535d30", "Number":"www2", "Name":"New Item", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/Inventory/Item/5f4fb539-aa53-413a-a3bf-6cb84f535d30" }, "Account": null, "Job":{ "UID":"0f4d602c-8c8b-45eb-8380-15373f395cee", "Number":"111", "Name":"New Job", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/Job/0f4d602c-8c8b-45eb-8380-15373f395cee" }, "TaxCode":{ "UID":"5d637fd2-a194-4c35-b409-d3d882e18651", "Code":"FRE", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/TaxCode/5d637fd2-a194-4c35-b409-d3d882e18651" } }, { "Type":"Transaction", "Description":"Postman Sample Update", "UnitOfMeasure":"xxx", "UnitCount":1122, "Account":{ "UID":"8cbe30c7-88b6-479f-9832-41f5bd471df8", "Name":"Electronic Clearing Account", "DisplayID":"1-3000", "URI":"http://localhost:8080/AccountRight/7ebca006-b424-4cc8-9e46-6c3244748481/GeneralLedger/Account/5fd432b7-9e01-44a9-bd74-637fa3034d02" }, "Item": null, "Total":-1200256, "Job":null, "TaxCode":{ "UID":"5d637fd2-a194-4c35-b409-d3d882e18651", "Code":"N-T", "URI":"http://localhost:8080/AccountRight/7ebca006-b424-4cc8-9e46-6c3244748481/GeneralLedger/TaxCode/dbdc4fdb-d9b4-4e08-be3a-fa139bada0f6" } } ], "Subtotal":326.340000, "Freight":0.000000, "FreightTaxCode":{ "UID":"4e4a6bd2-ac99-4b11-b3cf-db6c1112afa3", "Code":"GST", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/TaxCode/4e4a6bd2-ac99-4b11-b3cf-db6c1112afa3" }, "TotalTax":0.000000, "TotalAmount":326.340000, "Category":null, "Salesperson":null, "Comment":"", "ShippingMethod":null, "JournalMemo":"Sale; Test", "PromisedDate":null, "DeliveryStatus":"Nothing", "ReferralSource":null, "BalanceDueAmount":326.340000, "ForeignCurrency":null, "LastModified":"2020-01-06T00:01:48.21", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/Sale/Quote/Item/db28ba30-4ef6-4b8b-853b-0abd9a93f190" } |
{ "UID": "a4363a47-0e59-445e-a4b9-bd83650cb5ab", "Number": "00000006", "Date": "2020-01-20T00:00:00", "ShipToAddress": "Panda Distributor", "CustomerPurchaseOrderNumber": "", "Customer": { "UID": "cf5fb0e1-760c-4f77-9d2d-81a0f711d6f2", "Name": "Panda Distributor", "DisplayID": "*None", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Contact/Customer/cf5fb0e1-760c-4f77-9d2d-81a0f711d6f2" }, "Terms": { "PaymentIsDue": "InAGivenNumberOfDays", "DiscountDate": 0, "BalanceDueDate": 14, "DiscountForEarlyPayment": 0.0, "MonthlyChargeForLatePayment": 0.0, "DiscountExpiryDate": "2020-01-20T00:00:00", "Discount": 0.0, "DueDate": "2020-02-03T00:00:00", "FinanceCharge": 0.0 }, "IsTaxInclusive": true, "Lines": [ { "RowID": 10, "Type": "Transaction", "Description": "panda service", "UnitOfMeasure": "days", "UnitCount": 20.000000, "UnitPrice": 500.000000, "UnitPriceForeign": null, "DiscountPercent": 20.000000, "Total": 90.000000, "Account": { "UID": "4af9922c-b4c8-491a-b242-b444a161cf4a", "Name": "Services Income", "DisplayID": "4-1000", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/Account/4af9922c-b4c8-491a-b242-b444a161cf4a" }, "Job": null, "TaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "RowVersion": "3192770660828971008" } ], "Subtotal": 90.000000, "Freight": 0.000000, "FreightTaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "TotalTax": 8.180000, "TotalAmount": 90.000000, "Category": null, "Salesperson": null, "Comment": "", "ShippingMethod": null, "JournalMemo": "Sale; Panda Distributor", "PromisedDate": null, "DeliveryStatus": "Nothing", "ReferralSource": null, "BalanceDueAmount": 90.000000, "ForeignCurrency": null, "LastModified": "2020-01-20T00:22:57.493", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Sale/Quote/Service/a4363a47-0e59-445e-a4b9-bd83650cb5ab", "RowVersion": "2688367502563475456" } |
GET | GET |
{ "UID":"ea664d8f-a530-400e-a2e6-2598ca9590e4", "Number":"00000002", "Date":"2020-01-06T00:00:00", "ShipToAddress":"Test", "CustomerPurchaseOrderNumber":"", "Customer":{ "UID":"d9f94c34-59aa-4114-95ca-fd6011eb1b14", "Name":"Test", "DisplayID":"*None", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/Contact/Customer/d9f94c34-59aa-4114-95ca-fd6011eb1b14" }, "Terms":{ "PaymentIsDue":"InAGivenNumberOfDays", "DiscountDate":0, "BalanceDueDate":14, "DiscountForEarlyPayment":0.0, "MonthlyChargeForLatePayment":0.0, "DiscountExpiryDate":"2020-01-06T00:00:00", "Discount":0.0, "DueDate":"2020-01-20T00:00:00", "FinanceCharge":0.0 }, "IsTaxInclusive":false, "Lines":[ { "RowID":56, "Type":"Transaction", "Description":"New Item", "ShipQuantity":2.000000, "UnitPrice":166.500000, "UnitOfMeasure":null, "UnitCount":null, "DiscountPercent":2.000000, "Total":326.340000, "Item":{ "UID":"5f4fb539-aa53-413a-a3bf-6cb84f535d30", "Number":"www2", "Name":"New Item", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/Inventory/Item/5f4fb539-aa53-413a-a3bf-6cb84f535d30" }, "Account":null, "Job":{ "UID":"0f4d602c-8c8b-45eb-8380-15373f395cee", "Number":"111", "Name":"New Job", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/Job/0f4d602c-8c8b-45eb-8380-15373f395cee" }, "TaxCode":{ "UID":"5d637fd2-a194-4c35-b409-d3d882e18651", "Code":"FRE", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/TaxCode/5d637fd2-a194-4c35-b409-d3d882e18651" }, "RowVersion":"-3004463901409542144" }, { "RowID":57, "Type":"Transaction", "Description":"Postman Sample Update", "ShipQuantity":0.000000, "UnitPrice":0.000000, "UnitOfMeasure":"xxx", "UnitCount":1122.000000, "DiscountPercent":0.000000, "Total":-1200256.000000, "Item":null, "Account":{ "UID":"8cbe30c7-88b6-479f-9832-41f5bd471df8", "Name":"Income Tax Expense", "DisplayID":"9-3000", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/Account/8cbe30c7-88b6-479f-9832-41f5bd471df8" }, "Job":null, "TaxCode":{ "UID":"5d637fd2-a194-4c35-b409-d3d882e18651", "Code":"FRE", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/TaxCode/5d637fd2-a194-4c35-b409-d3d882e18651" }, "RowVersion":"-2932406307371614208" } ], "Subtotal":-1199929.660000, "Freight":0.000000, "FreightTaxCode":{ "UID":"4e4a6bd2-ac99-4b11-b3cf-db6c1112afa3", "Code":"GST", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/TaxCode/4e4a6bd2-ac99-4b11-b3cf-db6c1112afa3" }, "TotalTax":0.000000, "TotalAmount":-1199929.660000, "Category":null, "Salesperson":null, "Comment":"", "ShippingMethod":null, "JournalMemo":"Sale; Test", "PromisedDate":null, "DeliveryStatus":"Nothing", "ReferralSource":null, "BalanceDueAmount":-1199929.660000, "ForeignCurrency":null, "LastModified":"2020-01-14T00:46:48.123", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/Sale/Quote/Item/ea664d8f-a530-400e-a2e6-2598ca9590e4", "RowVersion":"-3292694277561253888" } |
{ "UID": "a4363a47-0e59-445e-a4b9-bd83650cb5ab", "Number": "00000006", "Date": "2020-01-20T00:00:00", "ShipToAddress": "Panda Distributor", "CustomerPurchaseOrderNumber": "", "Customer": { "UID": "cf5fb0e1-760c-4f77-9d2d-81a0f711d6f2", "Name": "Panda Distributor", "DisplayID": "*None", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Contact/Customer/cf5fb0e1-760c-4f77-9d2d-81a0f711d6f2" }, "Terms": { "PaymentIsDue": "InAGivenNumberOfDays", "DiscountDate": 0, "BalanceDueDate": 14, "DiscountForEarlyPayment": 0.0, "MonthlyChargeForLatePayment": 0.0, "DiscountExpiryDate": "2020-01-20T00:00:00", "Discount": 0.0, "DueDate": "2020-02-03T00:00:00", "FinanceCharge": 0.0 }, "IsTaxInclusive": true, "Lines": [ { "RowID": 10, "Type": "Transaction", "Description": "panda service", "UnitOfMeasure": "days", "UnitCount": 20.000000, "UnitPrice": 500.000000, "UnitPriceForeign": null, "DiscountPercent": 20.000000, "Total": 90.000000, "Account": { "UID": "4af9922c-b4c8-491a-b242-b444a161cf4a", "Name": "Services Income", "DisplayID": "4-1000", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/Account/4af9922c-b4c8-491a-b242-b444a161cf4a" }, "Job": null, "TaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "RowVersion": "4417749759473745920" } ], "Subtotal": 90.000000, "Freight": 0.000000, "FreightTaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "TotalTax": 8.180000, "TotalAmount": 90.000000, "Category": null, "Salesperson": null, "Comment": "", "ShippingMethod": null, "JournalMemo": "Sale; Panda Distributor", "PromisedDate": null, "DeliveryStatus": "Nothing", "ReferralSource": null, "BalanceDueAmount": 90.000000, "ForeignCurrency": null, "LastModified": "2020-01-20T00:22:57.493", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Sale/Quote/Service/a4363a47-0e59-445e-a4b9-bd83650cb5ab", "RowVersion": "3913346601208250368" } |
Sale/Invoice/Item | Sale/Invoice/Service |
POST | POST |
{ "Number":"00000066", "Date":"2019-11-16T00:00:00", "SupplierInvoiceNumber":null, "Customer":{ "UID":"d9f94c34-59aa-4114-95ca-fd6011eb1b14" }, "ShipToAddress":"Somewhere Over, The Rainbow", "Terms":{ "PaymentIsDue":"DayOfMonthAfterEOM", "DiscountDate":1, "BalanceDueDate":30, "DiscountForEarlyPayment":0, "MonthlyChargeForLatePayment":0, "DiscountExpiryDate":"2019-11-16T00:00:00", "Discount":0, "DueDate":"2019-11-16T00:00:00" }, "IsTaxInclusive":true, "IsReportable":false, "Lines":[ { "Type":"Transaction", "Description":"Postman2 Sample Update", "UnitOfMeasure":"SERV", "UnitCount":111, "Item": null; "Account":{ "UID":"ec80b619-0aed-4653-87bc-1b70cb91d5d2" }, "Total":11, "Job":{ "UID":"0f4d602c-8c8b-45eb-8380-15373f395cee", "Number":"333", "Name":"New Job", "URI":"http://localhost:8080/AccountRight/7ebca006-b424-4cc8-9e46-6c3244748481/GeneralLedger/Job/d4312fd7-471c-4044-8c34-47720312a5e7" }, "TaxCode":{ "UID":"4e4a6bd2-ac99-4b11-b3cf-db6c1112afa3" } }, { "ShipQuantity":0, "UnitPrice":55.000000, "UnitPriceForeign":null, "DiscountPercent":0.000000, "CostOfGoodsSold":0.0, "Item":{ "UID":"5f4fb539-aa53-413a-a3bf-6cb84f535d30", "Number":"www2", "Name":"New Item", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/Inventory/Item/5f4fb539-aa53-413a-a3bf-6cb84f535d30" }, "Location":null, "Type":"Transaction", "Description":"TestItem222", "UnitOfMeasure":"AAAA", "UnitCount":222, "Total":0.000000, "TotalForeign":null, "Account":null, "TaxCode":{ "UID":"5d637fd2-a194-4c35-b409-d3d882e18651", "Code":"FRE", "URI":"http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/TaxCode/5d637fd2-a194-4c35-b409-d3d882e18651" }, "RowVersion":"2038441781338570752" } ], "Subtotal":33, "Freight":0, "FreightTaxCode":{ "UID":"4e4a6bd2-ac99-4b11-b3cf-db6c1112afa3" }, "TotalTax":11, "TotalAmount":22, "Category":null, "Comment":"", "ShippingMethod":null, "PromisedDate":"2019-11-16T00:00:00", "JournalMemo":"Postman2 sample service", "BillDeliveryStatus":"Print", "AppliedToDate":0, "BalanceDueAmount":11, "Status":"Open", "LastPaymentDate":null, "Order":null, "ForeignCurrency":null } |
{ "Number": "00000006", "Date": "2020-01-17T00:00:00", "CustomerPurchaseOrderNumber": null, "Customer": { "UID": "cf5fb0e1-760c-4f77-9d2d-81a0f711d6f2", "Name": "Panda Distributor", "DisplayID": "*None", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Contact/Customer/cf5fb0e1-760c-4f77-9d2d-81a0f711d6f2" }, "PromisedDate": null, "BalanceDueAmount": 90.000000, "BalanceDueAmountForeign": null, "Lines": [ { "Type": "Transaction", "Description": "Panda Delivery - new", "UnitOfMeasure": "day", "UnitCount": 2.000000, "UnitPrice": 50.000000, "UnitPriceForeign": null, "DiscountPercent": 10.000000, "Total": 90.000000, "TotalForeign": null, "Account": { "UID": "4af9922c-b4c8-491a-b242-b444a161cf4a", "Name": "Services Income", "DisplayID": "4-1000", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/Account/4af9922c-b4c8-491a-b242-b444a161cf4a" }, "Job": null, "TaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "RowVersion": "6434236492628885504" } ], "Status": "Open", "ShipToAddress": "Panda Distributor", "Terms": { "PaymentIsDue": "InAGivenNumberOfDays", "DiscountDate": 0, "BalanceDueDate": 14, "DiscountForEarlyPayment": 0.0, "MonthlyChargeForLatePayment": 0.0, "DiscountExpiryDate": "2020-01-17T00:00:00", "Discount": 0.0, "DiscountForeign": null, "DueDate": "2020-01-31T00:00:00", "FinanceCharge": 0.0, "FinanceChargeForeign": null }, "IsTaxInclusive": true, "Subtotal": 90.000000, "SubtotalForeign": null, "Freight": 0.000000, "FreightForeign": null, "FreightTaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "TotalAmount": 90.000000, "TotalAmountForeign": null, "Category": null, "Salesperson": null, "Comment": "", "ShippingMethod": null, "JournalMemo": "Sale; Panda Distributor", "ReferralSource": null, "InvoiceDeliveryStatus": "Nothing", "LastPaymentDate": null, "Order": null, "OnlinePaymentMethod": "All", "ForeignCurrency": null, "CurrencyExchangeRate": null, "LastModified": "2020-01-17T00:18:13.5", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Sale/Invoice/Service/69863401-77f7-4b76-a913-97d8f3a14f47" } |
GET | GET |
{ "UID": "d31052c5-bbf3-4d1e-9d6c-66fedba6abe2", "Number": "00000001", "Date": "2019-12-18T00:00:00", "CustomerPurchaseOrderNumber": null, "Customer": { "UID": "d9f94c34-59aa-4114-95ca-fd6011eb1b14", "Name": "Test", "DisplayID": "*None", "URI": "http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/Contact/Customer/d9f94c34-59aa-4114-95ca-fd6011eb1b14" }, "PromisedDate": null, "BalanceDueAmount": 341.000000, "BalanceDueAmountForeign": null, "Lines": [ { "RowID": 118, "ShipQuantity": 5.000000, "UnitPrice": 55.000000, "UnitOfMeasure":"SERV", "UnitCount": null, "UnitPriceForeign": null, "DiscountPercent": 0.000000, "CostOfGoodsSold": 0.0, "Item": { "UID": "5f4fb539-aa53-413a-a3bf-6cb84f535d30", "Number": "www2", "Name": "New Item", "URI": "http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/Inventory/Item/5f4fb539-aa53-413a-a3bf-6cb84f535d30" }, "Account": null, "Location": null, "Type": "Transaction", "Description": "New Item", "Total": 275.000000, "TotalForeign": null, "Job": null, "TaxCode": { "UID": "5d637fd2-a194-4c35-b409-d3d882e18651", "Code": "FRE", "URI": "http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/TaxCode/5d637fd2-a194-4c35-b409-d3d882e18651" }, "RowVersion": "2325546257583439872" }, { "RowID": 119, "ShipQuantity": 0.000000, "UnitPrice": 0.000000, "UnitOfMeasure": "SERV", "UnitCount": 1234.000000, "UnitPriceForeign": 0.000000, "DiscountPercent": 0.000000, "CostOfGoodsSold": 0.0, "Item": null, "Account": { "UID": "8319e8f3-a0c5-4f28-b640-ac8a2393777a", "Name": "Stock Income", "DisplayID": "4-2000", "URI": "http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/Account/8319e8f3-a0c5-4f28-b640-ac8a2393777a" }, "Location": null, "Type": "Transaction", "Description": "Test", "Total": 66.000000, "TotalForeign": null, "Job": null, "TaxCode": { "UID": "4e4a6bd2-ac99-4b11-b3cf-db6c1112afa3", "Code": "GST", "URI": "http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/TaxCode/4e4a6bd2-ac99-4b11-b3cf-db6c1112afa3" }, "RowVersion": "2397603851621367808" } ], "Status": "Open", "ShipToAddress": "Test", "Terms": { "PaymentIsDue": "InAGivenNumberOfDays", "DiscountDate": 0, "BalanceDueDate": 14, "DiscountForEarlyPayment": 0.0, "MonthlyChargeForLatePayment": 0.0, "DiscountExpiryDate": "2019-12-18T00:00:00", "Discount": 0.0, "DiscountForeign": null, "DueDate": "2020-01-01T00:00:00", "FinanceCharge": 0.00, "FinanceChargeForeign": null }, "IsTaxInclusive": true, "Subtotal": 341.000000, "SubtotalForeign": null, "Freight": 0.000000, "FreightForeign": null, "FreightTaxCode": { "UID": "4e4a6bd2-ac99-4b11-b3cf-db6c1112afa3", "Code": "GST", "URI": "http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/GeneralLedger/TaxCode/4e4a6bd2-ac99-4b11-b3cf-db6c1112afa3" }, "TotalTax": 6.000000, "TotalTaxForeign": null, "TotalAmount": 341.000000, "TotalAmountForeign": null, "Category": null, "Salesperson": null, "Comment": "", "ShippingMethod": null, "JournalMemo": "Sale; Test", "ReferralSource": null, "InvoiceDeliveryStatus": "Nothing", "LastPaymentDate": null, "Order": null, "OnlinePaymentMethod": "All", "ForeignCurrency": null, "CurrencyExchangeRate": null, "LastModified": "2019-12-19T03:28:50.997", "URI": "http://localhost:8080/AccountRight/d831b12b-d09a-4281-a0ee-8c98c5024fce/Sale/Invoice/Item/d31052c5-bbf3-4d1e-9d6c-66fedba6abe2", "RowVersion": "2037315881431728128" } |
{ "UID": "1080ff8e-0a7d-499b-b489-b51c4701f143", "Number": "00000006", "Date": "2020-01-17T00:00:00", "CustomerPurchaseOrderNumber": null, "Customer": { "UID": "cf5fb0e1-760c-4f77-9d2d-81a0f711d6f2", "Name": "Panda Distributor", "DisplayID": "*None", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Contact/Customer/cf5fb0e1-760c-4f77-9d2d-81a0f711d6f2" }, "PromisedDate": null, "BalanceDueAmount": 90.000000, "BalanceDueAmountForeign": null, "Lines": [ { "RowID": 138, "Type": "Transaction", "Description": "Panda Delivery - new", "UnitOfMeasure": "day", "UnitCount": 2.000000, "UnitPrice": 50.000000, "UnitPriceForeign": null, "DiscountPercent": 10.000000, "Total": 90.000000, "TotalForeign": null, "Account": { "UID": "4af9922c-b4c8-491a-b242-b444a161cf4a", "Name": "Services Income", "DisplayID": "4-1000", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/Account/4af9922c-b4c8-491a-b242-b444a161cf4a" }, "Job": null, "TaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "RowVersion": "-6751740266358505472" } ], "Status": "Open", "ShipToAddress": "Panda Distributor", "Terms": { "PaymentIsDue": "InAGivenNumberOfDays", "DiscountDate": 0, "BalanceDueDate": 14, "DiscountForEarlyPayment": 0.0, "MonthlyChargeForLatePayment": 0.0, "DiscountExpiryDate": "2020-01-17T00:00:00", "Discount": 0.0, "DiscountForeign": null, "DueDate": "2020-01-31T00:00:00", "FinanceCharge": 0.0, "FinanceChargeForeign": null }, "IsTaxInclusive": true, "Subtotal": 90.000000, "SubtotalForeign": null, "Freight": 0.000000, "FreightForeign": null, "FreightTaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "TotalTax": 8.180000, "TotalTaxForeign": null, "TotalAmount": 90.000000, "TotalAmountForeign": null, "Category": null, "Salesperson": null, "Comment": "", "ShippingMethod": null, "JournalMemo": "Sale; Panda Distributor", "ReferralSource": null, "InvoiceDeliveryStatus": "Nothing", "LastPaymentDate": null, "Order": null, "OnlinePaymentMethod": "All", "ForeignCurrency": null, "CurrencyExchangeRate": null, "LastModified": "2020-01-19T22:39:05.703", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Sale/Invoice/Service/1080ff8e-0a7d-499b-b489-b51c4701f143", "RowVersion": "-6967913048472289280" } |
Purchase/Bill/Item | Purchase/Bill/Service |
POST | POST |
{ "Number": "Hybrid0", "Date": "2019-12-04T00:00:00", "SupplierInvoiceNumber": null, "Supplier": { "UID": "02edc248-1d95-49dd-9084-fa65e4b2aeb8", "Name": "Mike Paper Supplier", "DisplayID": "*None", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Contact/Supplier/02edc248-1d95-49dd-9084-fa65e4b2aeb8" }, "ShipToAddress": "SkyBus\r\n", "Terms": { "PaymentIsDue": "DayOfMonthAfterEOM", "DiscountDate": 1, "BalanceDueDate": 30, "DiscountForEarlyPayment": 0.0, "MonthlyChargeForLatePayment": 0.0, "DiscountExpiryDate": "2020-01-01T00:00:00", "Discount": 0.00, "DiscountForeign": null, "DueDate": "2020-01-30T00:00:00" }, "IsTaxInclusive": false, "IsReportable": false, "Lines": [ { "Type": "Transaction", "Description": "Service Line", "BillQuantity": 0.000000, "ReceivedQuantity": 0.000000, "BackorderQuantity": 0.000000, "Total": 200.000000, "TotalForeign": null, "UnitPrice": 0.000000, "UnitOfMeasure": "Day", "UnitCount": 2.000000, "Job": null, "UnitPriceForeign": 0.000000, "TaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "DiscountPercent": 0.000000, "Item": null, "Account": { "UID": "b725bd3f-3b81-4e19-b74a-a7b64e9456b7", "Name": "Advertising & Marketing", "DisplayID": "6-1200", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/Account/b725bd3f-3b81-4e19-b74a-a7b64e9456b7" }, "Location": null, "RowVersion": "-2576058986855923712" }, { "Type": "Transaction", "Description": "Ticket Paper", "BillQuantity": 0.000000, "ReceivedQuantity": 0.000000, "BackorderQuantity": 0.0, "Total": 0.000000, "TotalForeign": null, "UnitPrice": 0.000000, "UnitOfMeasure": null, "UnitCount": null, "Job": null, "UnitPriceForeign": null, "TaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "DiscountPercent": 0.000000, "Item": { "UID": "aa60d1fa-3858-4152-a72c-ebada50101be", "Number": "001", "Name": "Ticket Paper", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Inventory/Item/aa60d1fa-3858-4152-a72c-ebada50101be" }, "Account": null, "Location": null, "RowVersion": "-2359886204742139904" } ], "Subtotal": 200.000000, "SubtotalForeign": null, "Freight": 0.000000, "FreightForeign": null, "FreightTaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "TotalTax": 20.000000, "TotalTaxForeign": null, "TotalAmount": 220.000000, "TotalAmountForeign": null, "Category": null, "Comment": "", "ShippingMethod": null, "PromisedDate": null, "JournalMemo": "Purchase; Mike Paper Supplier", "BillDeliveryStatus": "Print", "AppliedToDate": 0.000000, "AppliedToDateForeign": null, "BalanceDueAmount": 220.000000, "BalanceDueAmountForeign": null, "Status": "Open", "LastPaymentDate": null, "Order": null, "ForeignCurrency": null, "CurrencyExchangeRate": null, "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Purchase/Bill/Item/2ae265ef-bd8e-4bbb-a317-dd34ed816325", "RowVersion": "-2720174174931779584" } |
{ "UID": "fe87a7d4-89cd-4529-88d0-265024ad5a9e", "Number": "00000002", "Date": "2019-12-04T00:00:00", "SupplierInvoiceNumber": null, "Supplier": { "UID": "897fdfc8-9856-4fa4-afc2-aa361adb12b9", "Name": "Maja App Solution Supplier", "DisplayID": "*None", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Contact/Supplier/897fdfc8-9856-4fa4-afc2-aa361adb12b9" }, "ShipToAddress": "SkyBus\r\n", "Terms": { "PaymentIsDue": "DayOfMonthAfterEOM", "DiscountDate": 1, "BalanceDueDate": 30, "DiscountForEarlyPayment": 0.0, "MonthlyChargeForLatePayment": 0.0, "DiscountExpiryDate": "2020-01-01T00:00:00", "Discount": 0.0, "DiscountForeign": null, "DueDate": "2020-01-30T00:00:00" }, "IsTaxInclusive": false, "IsReportable": false, "Lines": [ { "Type": "Transaction", "Description": "APP maintenance", "UnitOfMeasure": "day", "UnitCount": 1, "UnitPrice": 100, "UnitPriceForeign": null, "DiscountPercent": 10, "Total": 3000.000000, "TotalForeign": null, "Account": { "UID": "9dfa9813-ac10-428f-8fb0-5e29e92c8631", "Name": "Internet", "DisplayID": "6-2300", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/Account/9dfa9813-ac10-428f-8fb0-5e29e92c8631" }, "Job": null, "TaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "RowVersion": "-5748000499408306176" } ], "Subtotal": 3000.000000, "SubtotalForeign": null, "Freight": 0.000000, "FreightForeign": null, "FreightTaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "TotalTax": 300.000000, "TotalTaxForeign": null, "TotalAmount": 3300.000000, "TotalAmountForeign": null, "Category": null, "Comment": "", "ShippingMethod": null, "PromisedDate": null, "JournalMemo": "Purchase; Maja App Solution Supplier", "BillDeliveryStatus": "Print", "AppliedToDate": 0.000000, "AppliedToDateForeign": null, "BalanceDueAmount": 3300.000000, "BalanceDueAmountForeign": null, "Status": "Open", "LastPaymentDate": null, "Order": null, "ForeignCurrency": null, "CurrencyExchangeRate": null, "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Purchase/Bill/Service/fe87a7d4-89cd-4529-88d0-265024ad5a9e", "RowVersion": "-5892115687484162048" } |
GET | GET |
{ "UID": "07b222cd-9a38-4564-9cba-3fcf5b6eb9a9", "Number": "Hybrid0", "Date": "2019-12-04T00:00:00", "SupplierInvoiceNumber": null, "Supplier": { "UID": "02edc248-1d95-49dd-9084-fa65e4b2aeb8", "Name": "Mike Paper Supplier", "DisplayID": "*None", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Contact/Supplier/02edc248-1d95-49dd-9084-fa65e4b2aeb8" }, "ShipToAddress": "SkyBus\r\n", "Terms": { "PaymentIsDue": "DayOfMonthAfterEOM", "DiscountDate": 1, "BalanceDueDate": 30, "DiscountForEarlyPayment": 0.0, "MonthlyChargeForLatePayment": 0.0, "DiscountExpiryDate": "2020-01-01T00:00:00", "Discount": 0.0, "DiscountForeign": null, "DueDate": "2020-01-30T00:00:00" }, "IsTaxInclusive": false, "IsReportable": false, "Lines": [ { "RowID": 84, "Type": "Transaction", "Description": "Service Line", "BillQuantity": 0.000000, "ReceivedQuantity": 0.000000, "BackorderQuantity": 0.000000, "Total": 200.000000, "TotalForeign": null, "UnitPrice": 0.000000, "UnitOfMeasure": "Day", "UnitCount": 2.000000, "Job": null, "UnitPriceForeign": 0.000000, "TaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "DiscountPercent": 0.000000, "Item": null, "Account": { "UID": "b725bd3f-3b81-4e19-b74a-a7b64e9456b7", "Name": "Advertising & Marketing", "DisplayID": "6-1200", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/Account/b725bd3f-3b81-4e19-b74a-a7b64e9456b7" }, "Location": null, "RowVersion": "-124130464729399296" }, { "RowID": 85, "Type": "Transaction", "Description": "Ticket Paper", "BillQuantity": 0.000000, "ReceivedQuantity": 0.000000, "BackorderQuantity": 0.0, "Total": 0.000000, "TotalForeign": null, "UnitPrice": 0.000000, "UnitOfMeasure": null, "UnitCount": null, "Job": null, "UnitPriceForeign": null, "TaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "DiscountPercent": 0.000000, "Item": { "UID": "aa60d1fa-3858-4152-a72c-ebada50101be", "Number": "001", "Name": "Ticket Paper", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Inventory/Item/aa60d1fa-3858-4152-a72c-ebada50101be" }, "Account": null, "Location": null, "RowVersion": "92323792361095168" } ], "Subtotal": 200.000000, "SubtotalForeign": null, "Freight": 0.000000, "FreightForeign": null, "FreightTaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "TotalTax": 20.000000, "TotalTaxForeign": null, "TotalAmount": 220.000000, "TotalAmountForeign": null, "Category": null, "Comment": "", "ShippingMethod": null, "PromisedDate": null, "JournalMemo": "Purchase; Mike Paper Supplier", "BillDeliveryStatus": "Print", "AppliedToDate": 0.000000, "AppliedToDateForeign": null, "BalanceDueAmount": 220.000000, "BalanceDueAmountForeign": null, "Status": "Open", "LastPaymentDate": null, "Order": null, "ForeignCurrency": null, "CurrencyExchangeRate": null, "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Purchase/Bill/Item/07b222cd-9a38-4564-9cba-3fcf5b6eb9a9", "RowVersion": "-268245652805255168" } |
{ "UID": "fe87a7d4-89cd-4529-88d0-265024ad5a9e", "Number": "00000002", "Date": "2019-12-04T00:00:00", "SupplierInvoiceNumber": null, "Supplier": { "UID": "897fdfc8-9856-4fa4-afc2-aa361adb12b9", "Name": "Maja App Solution Supplier", "DisplayID": "*None", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Contact/Supplier/897fdfc8-9856-4fa4-afc2-aa361adb12b9" }, "ShipToAddress": "SkyBus\r\n", "Terms": { "PaymentIsDue": "DayOfMonthAfterEOM", "DiscountDate": 1, "BalanceDueDate": 30, "DiscountForEarlyPayment": 0.0, "MonthlyChargeForLatePayment": 0.0, "DiscountExpiryDate": "2020-01-01T00:00:00", "Discount": 0.0, "DiscountForeign": null, "DueDate": "2020-01-30T00:00:00" }, "IsTaxInclusive": false, "IsReportable": false, "Lines": [ { "RowID": 150, "Type": "Transaction", "Description": "APP maintenance", "UnitOfMeasure": "day", "UnitCount": 2.000000, "UnitPrice": 50.000000, "UnitPriceForeign": null, "DiscountPercent": 20.000000, "Total": 3000.000000, "TotalForeign": null, "Account": { "UID": "9dfa9813-ac10-428f-8fb0-5e29e92c8631", "Name": "Internet", "DisplayID": "6-2300", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/Account/9dfa9813-ac10-428f-8fb0-5e29e92c8631" }, "Job": null, "TaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "RowVersion": "5354779956943519744" } ], "Subtotal": 3000.000000, "SubtotalForeign": null, "Freight": 0.000000, "FreightForeign": null, "FreightTaxCode": { "UID": "8f9ce4fc-923c-4f84-ac59-414a0d65bd24", "Code": "GST", "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/GeneralLedger/TaxCode/8f9ce4fc-923c-4f84-ac59-414a0d65bd24" }, "TotalTax": 300.000000, "TotalTaxForeign": null, "TotalAmount": 3300.000000, "TotalAmountForeign": null, "Category": null, "Comment": "", "ShippingMethod": null, "PromisedDate": null, "JournalMemo": "Purchase; Maja App Solution Supplier", "BillDeliveryStatus": "Print", "AppliedToDate": 0.000000, "AppliedToDateForeign": null, "BalanceDueAmount": 3300.000000, "BalanceDueAmountForeign": null, "Status": "Open", "LastPaymentDate": null, "Order": null, "ForeignCurrency": null, "CurrencyExchangeRate": null, "URI": "http://localhost:8080/AccountRight/3d8212b9-1737-41e5-9ed6-7d7e97e91ed2/Purchase/Bill/Service/fe87a7d4-89cd-4529-88d0-265024ad5a9e", "RowVersion": "4634204016564240384" } |
Comments
0 comments
Article is closed for comments.