Getting invoice items via Sage 200 API

I’ve currently got the API set up to grab data from our Sage 200 platform and I’ve been asked to grab all invoices and what items they contained for a certain period.

I am able to use the following call to see invoices:

https://api.columbus.sage.com/uk/sage200extra/accounts/v1/sop_order_return_invoice_credit_views

However, I don’t know where to go to see what items these invoices included.

For example, we have an order that was placed on 28th June that had an invoice raised on 30th June for some of the items and then a second invoice raised on 23rd July for the rest of the items.

When I run the above call, I get back that there’s two invoices but I only see the overall information, I can’t see what items the invoices were for.

Array
(
    [0] => Array
        (
            [sop_order_return_id] => 67198786
            [sop_order_return_document_type_id] => 0
            [sop_order_return_document_no] => 0000173763
            [sop_order_return_document_date] => 2024-06-28T00:00:00Z
            [sop_order_return_document_status_id] => 2
            [sop_order_return_customer_document_no] => PO000181221
            [sop_order_return_total_net_value] => 129.02
            [sop_order_return_total_tax_value] => 25.8
            [sop_order_return_total_gross_value] => 154.82
            [customer_id] => 33665303
            [customer_reference] => HOME
            [customer_name] => Home Company
            [customer_short_name] => Home Co
            [sop_invoice_credit_id] => 67292796
            [sop_invoice_credit_document_no] => 0000151614
            [sop_invoice_credit_type_id] => 0
            [sop_invoice_credit_document_date] => 2024-06-30T00:00:00Z
            [sop_invoice_credit_document_status_id] => 2
            [sop_invoice_credit_total_net_value] => 67.52
            [sop_invoice_credit_total_tax_value] => 13.5
            [sop_invoice_credit_total_gross_value] => 81.02
        )

    [1] => Array
        (
            [sop_order_return_id] => 67198786
            [sop_order_return_document_type_id] => 0
            [sop_order_return_document_no] => 0000173763
            [sop_order_return_document_date] => 2024-06-28T00:00:00Z
            [sop_order_return_document_status_id] => 2
            [sop_order_return_customer_document_no] => PO000181221
            [sop_order_return_total_net_value] => 129.02
            [sop_order_return_total_tax_value] => 25.8
            [sop_order_return_total_gross_value] => 154.82
            [customer_id] => 33665303
            [customer_reference] => HOME
            [customer_name] => Home Company
            [customer_short_name] => Home Co
            [sop_invoice_credit_id] => 67564111
            [sop_invoice_credit_document_no] => 0000152242
            [sop_invoice_credit_type_id] => 0
            [sop_invoice_credit_document_date] => 2024-07-23T00:00:00Z
            [sop_invoice_credit_document_status_id] => 2
            [sop_invoice_credit_total_net_value] => 61.5
            [sop_invoice_credit_total_tax_value] => 12.3
            [sop_invoice_credit_total_gross_value] => 73.8
        )

)

Does anyone know what call to make to see the invoiced items? I can’t rely on attempting to calculate the which items from the order they are using the total fields.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật