Invoice JSON
Database invoice
The database action reads the header and items by IntInvoiceID. After PRA returns Code=100 and an invoice number, it updates PRAInvoiceNo in both PRA tables inside one SQL transaction.