The split is the part worth getting right
Whether an invoice carries CGST and SGST or a single IGST depends on the place of supply. Same state as the supplier and the tax splits in half between centre and state; different states and it is one Integrated GST at the full rate. The total is identical, but the wrong choice produces an invoice your client's accountant will query, because it affects how they claim credit.
We derive it from the leading two digits of the two GSTINs, falling back to a state code you supply. Where the recipient's state is unknown we default to intra-state, because the alternative default produces an invoice the recipient cannot claim credit on.