Can we create purchase order or invoice using api without adding items on portal

test
test Member Posts: 3 Novice Member Novice Member
edited December 2023 in Reckon API

while creating invoice or purchase order we need items to add.

 <InvoiceLineAdd defMacro = "MACROTYPE">
            <ItemRef>                                         <!-- opt -->
              <ListID>IDTYPE</ListID>                         <!-- opt -->
              <FullName>STRTYPE</FullName>                    <!-- opt -->
            </ItemRef>


Api fails, if item ref doesn't find the item on portal. So, while creating purchase order or invoice can we create item or add the item that is not on portal.

Answers

  • PhuongDo
    PhuongDo Reckon Developer Partner Posts: 320 Reckon Legend Reckon Legend

    No, items need to exist in the Reckon file. You need to create the item first.


    Phuong Do / Reckon Developer Partner

    phuong@cactussoftware.com.au


  • Teddy
    Teddy Reckon Alumni Posts: 12 Former Reckon Staff Member Former Reckon Staff

    Hi @test,

    Nick sent you an email with all the info you need. From the previous email sent to you, we attached an XML file called qbxmlops61.xml and this file contains all the payloads you need to create, modify, and query data in your company file via API.

    That same file contains payloads to create service, inventory, and non-inventory items which you can then use to create invoices and purchase orders.

    If you have any further questions, feel free to respond to this comment.

    Thanks, and regards,

    Teddy