When attempting to use InvoiceCreate, I am unsure how to implement the structure of the call regarding the lines property. Apologies, but first time using the Intacct SDK and have not received any help from web searches on how to handle. Documentation would seem to suggest that the following should work:
Below is the function I am using with commented out attempts for things I have tried. Kind of at a loss on what the code should look like here for the lines property.
Found the solution. Was using the xml schema documentation as a guide, because the error it throws for this references the xml schema, but needed to use another function call to InvoiceLineCreate.
When attempting to use InvoiceCreate, I am unsure how to implement the structure of the call regarding the lines property. Apologies, but first time using the Intacct SDK and have not received any help from web searches on how to handle. Documentation would seem to suggest that the following should work:
create.lines = { glAccountNumber: '40100', totalDue: '1111' }
Below is the function I am using with commented out attempts for things I have tried. Kind of at a loss on what the code should look like here for the lines property.
`async create() {