Hi Mo_JM ,
I'm not from that part of the company, but incase it helps the specific part of the postman collection relating to this is here:
https://accountrightapi.myob.cloud/?version=latest#148bd100-5918-46df-8656-2fbfa7b29cb8
The example there is:
{
"Number": "PSMN0001",
"Date": "2018-09-02T00:00:00",
"SupplierInvoiceNumber": null,
"Customer": {
"UID": "dde4659b-7bb3-4ef7-9312-c13b2fa02f58"
},
"ShipToAddress": "Somewhere Over, The Rainbow",
"Terms": {
"PaymentIsDue": "DayOfMonthAfterEOM",
"DiscountDate": 1,
"BalanceDueDate": 30,
"DiscountForEarlyPayment": 0,
"MonthlyChargeForLatePayment": 0,
"DiscountExpiryDate": "2018-03-01T00:00:00",
"Discount": 0,
"DueDate": "2018-03-30T00:00:00"
},
"IsTaxInclusive": true,
"IsReportable": false,
"Lines": [
{
"Type": "Transaction",
"Description": "Postman Sample Update",
"Account": {
"UID": "ce84af88-225a-4e85-9674-8c269d78d6ca"
},
"Total": -1200256,
"Job": null,
"TaxCode": {
"UID": "56dd406b-0dcc-4110-bedf-b8a7f778450f"
}
}
],
"Subtotal": -1200256,
"Freight": 0,
"FreightTaxCode": {
"UID": "e4b03cbc-a1aa-4fe0-92a2-bc34530e1fc3"
},
"TotalTax": -109114.18,
"TotalAmount": -1200256,
"Category": null,
"Comment": "",
"ShippingMethod": null,
"PromisedDate": "2018-10-02T00:00:00",
"JournalMemo": "Postman sample service",
"BillDeliveryStatus": "Print",
"AppliedToDate": 0,
"BalanceDueAmount": -1200256,
"Status": "Open",
"LastPaymentDate": null,
"Order": null,
"ForeignCurrency": null
}
I would expect that you need to enter the following:
- TotalAmount
- Subtotal
- TotalTax
- BalanceDueAmount
- Status
- AppliedToDate
- At least 1 Line