Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • invoicePaymentRefRecieved

  • invoicePaymentRejected

  • invoicePaymentRecieved

  • invoicePaymentRefunded

  • invoiceCreate (called on save)

  • invoiceUpdate (called on save)

  • invoiceDelete

  • invoiceItemCreate

  • invoiceItemUpdate

  • invoiceItemDelete

  • invoiceAmend

  • invoiceValidateItems

  • invoiceMatchItems

  • invoiceCreationFromCalculation (will send a signal)

invoice Payment specific modules (Calculation rules)

...

Registration on signals from other module(existing or not):

  • contributionCreated

  • invoiceCreationFromCalculation

Converters

informal sector

...

Registration on signals from other module(existing or not)

  • contractApproved

  • invoiceCreationFromCalculation

Converters:

Invoice

field

type

comment

subject

json

Code Block
languagejson
referenceSource {
  "label":contract-label
  "code":contract-code,
  "type": "Contract",
  "id":"UUID",
}

 recipient

json 

Code Block
languagejson
referenceActor {
  "label":ph-name,
  "code":ph-code,
  "type": "Policyholder",
  "id":"UUID",
  "address":{"text":"",...}
}

 code

 str 

IV-[contract code]

 date_due

 date 

contract-payment-due

 date_invoice

 date 

Date of the contract approved

 *dateValidFrom

 date 

validFrom: contract validFrom

 *dateValidTo

 date 

validTo:contract validTo

 amount_discount

 float 

total of the detail discount

 amount_net

 float 

Total without tax

 tax_analysis

 json 

Code Block
languagejson
null

 amount_total

 float 

total net

 status

 int 

validated

 currency_rcp_code

 str 

default-curency

 currency_code

 str 

default-curency-code

 note

 bigttext 

 terms

 bigttext 

...

Registration on signals from other module(existing or not)

  • claimSubmitted

  • invoiceCreationFromCalculation

Converters:

[out of scope] - (Product payment module)Funding:

...

  • Funding created / updated

  • Contribution created / updated (for Funding families)

  • invoiceCreationFromCalculation

converters:

new funding:

Too soon the new funding structure is not defined

...

No add new button , All invoice MUST be generated using specific payment module

3 dots menu to generate invoice: show date from/date To

it will call invoiceCreationFromCalculation service

card page

general information

...