packages feed

exchangealgebra-einvoice-0.1.0.0: exchangealgebra-einvoice.cabal

cabal-version: 1.18

-- This file has been generated from package.yaml by hpack version 0.39.6.
--
-- see: https://github.com/sol/hpack

name:           exchangealgebra-einvoice
version:        0.1.0.0
synopsis:       Read UBL e-invoices (JP PINT) into exchange algebra journals
description:    Reads Japanese qualified invoices in the JP PINT profile of UBL 2.1 and turns each invoice into one balanced exchange algebra entry. The caller supplies the function that builds the base of each term, so the base may have elements other than the account, such as the tax rate or the counterparty. Tax-exclusive and tax-inclusive accounting are both supported.
category:       Accounting, Finance
homepage:       https://github.com/yakagika/ExchangeAlgebra#readme
bug-reports:    https://github.com/yakagika/ExchangeAlgebra/issues
author:         Kaya Akagi
maintainer:     yakagika@icloud.com
copyright:      2026 Kaya Akagi
license:        MIT
license-file:   LICENSE.txt
build-type:     Simple
extra-doc-files:
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/yakagika/ExchangeAlgebra

library
  exposed-modules:
      ExchangeAlgebra.IO.Input.EInvoice
      ExchangeAlgebra.IO.Input.EInvoice.Document
      ExchangeAlgebra.IO.Input.EInvoice.Journal
  other-modules:
      Paths_exchangealgebra_einvoice
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base >=4.19 && <5
    , bytestring >=0.11 && <0.13
    , containers >=0.6 && <0.8
    , exchangealgebra ==0.7.*
    , text >=2.0 && <2.2
    , time >=1.12 && <1.15
    , xml-conduit >=1.9.1 && <1.11
  default-language: Haskell2010

test-suite exchangealgebra-einvoice-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      DocumentSpec
      InvoiceFixture
      JournalSpec
      TestSupport
      Paths_exchangealgebra_einvoice
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      QuickCheck >=2.14 && <3
    , base >=4.19 && <5
    , bytestring >=0.11 && <0.13
    , containers >=0.6 && <0.8
    , exchangealgebra ==0.7.*
    , exchangealgebra-einvoice
    , hashable >=1.4 && <1.6
    , text >=2.0 && <2.2
    , time >=1.12 && <1.15
    , xml-conduit >=1.9.1 && <1.11
  default-language: Haskell2010