MYOB .NET SDK - 创建发票

MYOB .NET SDK - Invoice creation

我不确定是否有人能够帮助我,但我希望有人熟悉 MYOB 的 .NET SDK。

The service classes accessible in the SDK provide the core HTTP operations available for each consumable endpoint. These include the following operators:

Get/GetRange – HTTP GET Insert – HTTP POST Update – HTTP PUT Delete – HTTP DELETE

https://developer.myob.com/api/myob-business-api/arlive-sdk/dotnet_sdk/sdk-services/

InvoiceService 通过

访问
MYOB.AccountRight.SDK.Services.Sale.InvoiceService.

我已经实例化了一个 InvoiceService 对象:

var invService = new InvoiceService(configuration);

但是 InvoiceService class 没有“插入”功能。

API 端点文档表明“POST”是可能的:https://developer.myob.com/api/myob-business-api/v2/sale/invoice/invoice_service/

我是不是用错了class?很遗憾,我找不到任何 SDK 文档。

尝试使用 MYOB.AccountRight.SDK.Services.Sale.ItemInvoiceService 而不是 MYOB.AccountRight.SDK.Services.Sale.InvoiceService