N1Developer docsv1

TYPE REFERENCE

Totals

Referenced by 11 generated operations.

Documented fields

  • cgstFloat!Required

    Central GST; 0 unless supply is INTRA.

    Example: 0

  • discountFloat!Required

    The discount applied. Never more than the subtotal.

    Example: 0

  • gstFloat!Required

    Total GST: cgst + sgst + igst.

    Example: 58080

  • gstRateFloat!Required

    The GST percentage applied; 0 when supply is NONE.

    Example: 12

  • igstFloat!Required

    Integrated GST; 0 unless supply is INTER.

    Example: 58080

  • sgstFloat!Required

    State GST; 0 unless supply is INTRA.

    Example: 0

  • subtotalFloat!Required

    Sum of the line amounts.

    Example: 484000

  • supplyGstSupply!Required

    Whether CGST + SGST or IGST applies.

    Example: "INTER"

    • INTERDifferent states: IGST.
    • INTRAShop and customer are in the same state: CGST + SGST.
    • NONEThe shop has no GSTIN, so no GST is charged.
  • taxableFloat!Required

    Subtotal less discount.

    Example: 484000

  • totalFloat!Required

    Taxable plus GST.

    Example: 542080

Used by

Search documentation

Search operations, types and errors from the generated contract.